hello, where i can find CLEO vhen, someone text me in game /sms FYP to > blankas > hello, jobani gobnik
soo, what i need? i need dont' write all nick name player but just ID and text him back.
here code.
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "sms" @Command
alloc 4@ 200
WHILE TRUE
WAIT 0
END
:Command
0B35: 0@ = get_last_command_params
if
0AD4: 31@ = scan_string 0@ format "%d %s" 1@ 4@ //IF and SET
then
2@ = SAMP.GetActorHandleByPlayerID(1@)
0B36: samp 3@ = get_player_nickname 2@
0AF8: "You say: /sms %s %s" -1 3@ 4@
end
soo, what i need? i need dont' write all nick name player but just ID and text him back.
here code.
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "sms" @Command
alloc 4@ 200
WHILE TRUE
WAIT 0
END
:Command
0B35: 0@ = get_last_command_params
if
0AD4: 31@ = scan_string 0@ format "%d %s" 1@ 4@ //IF and SET
then
2@ = SAMP.GetActorHandleByPlayerID(1@)
0B36: samp 3@ = get_player_nickname 2@
0AF8: "You say: /sms %s %s" -1 3@ 4@
end