I want my script to make me leave every time someone joins the server (there will be a message in the chat like "PLAYERNAME joined the server.")
I tried
"0AD4: 4@ = scan_string 0@v format "%d + %d = %d" 5@ 6@ 7@ "
and
"0C29: 2@ = stristr string1 0@ string2 1@"
but don't know how to use them properly.
this shit will make my game crash. What do the parameters mean?
I tried
"0AD4: 4@ = scan_string 0@v format "%d + %d = %d" 5@ 6@ 7@ "
and
"0C29: 2@ = stristr string1 0@ string2 1@"
but don't know how to use them properly.
Code:
{$CLEO}
0000:NOP
REPEAT
WAIT 0
UNTIL 0AFA: is_samp_available
:check
wait 100
if
0C29: 2@ = stristr string1 1@ string2 "joined the server"
jf @check
0B28: samp disconnect_with_reason 1@
jump @check
this shit will make my game crash. What do the parameters mean?