supahdupahnubah said:
@Parazitas IIRC this string is stored in 0xBAAE70
So the code should be something like this.
@supahdupahnubah
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
0C17: 21@ = strlen 0xBAAE70
IF
21@ <> 0
THEN
21@++
alloc 22@ = 21@
0C24: strncpy destination 22@ source 0xBAAE70 size 21@
IF
0AD4: $NOT_USED = 22@ format "/SAIRAFK %s TEMPO RESTANTE %d" 2@v $NOT_USED
THEN
say "/SAIRAFK %s" 2@V
free 22@
END
END
END /// END WHILE TRUE
[/shcode] uknow opcode on 0C17 when i try compile :-/ I tried to find 0C17 in the database and did not find it. Is that right?