HooThaFuck
Active member
- Joined
- Apr 18, 2015
- Messages
- 51
- Reaction score
- 0
I have this code that crashes when I type /that.
Code:
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 500
UNTIL SAMP.Available()
0B34: samp register_client_command "that" to_label @CMD_THAT
:loop
WAIT 0
GOTO @loop
:CMD_THAT
WAIT 0
SAMP.GetCurrentServerAddress(0@, 1@)
IF
0C14: strcmp 0@ "127.0.0.1"
THEN
SAY "-| Hello World! |-"
END
JUMP @CMD_RET
:CMD_RET
WAIT 0
SAMP.CmdRet()
GOTO @loop