So guys, i'm making a cleo for type '/sairafk + code' [size=small][size=medium](sairafk = leaveafk and voce esta ausente = you are absent) (https://imgur.com/a/3hxci) but when the message appears on screen, nothing happen.. What is wrong with this code? someone knows?[/size][/size]
Code:
{$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 VOCE ESTA AUSENTE %d" 2@v $NOT_USED
THEN
say "/SAIRAFK %s" 2@V
free 22@
END
END
END /// END WHILE TRUE