pai1ne13
Active member
- Joined
- Jan 2, 2019
- Messages
- 59
- Reaction score
- 4
hello, i have a problem.This mode need to say auto "hello X" when "X" joined on the server .but don t work.How can i fix it
Code:
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
if
0B61: samp is_local_player_spawned
then
0AC8: 0@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
0B36: samp 6@ = get_player_nickname 7@
if
0C29: $not_use = stristr string1 0@ string2 "%s joined" 6@
THEN
0af9: "hello %s"
wait 1000
END
end
end