Script bugged , when I turn off whit command " /akb " him still send msg.
So how fix it?
Sorry for my bad English.
So how fix it?
Sorry for my bad English.
Cleo script:
{$CLEO .cs}
0000:
0B34: "akb" @CMD
while true
wait 0
if
0@ == 1
then
wait 90000
0AF9: samp say_msg "TEST One"
wait 120000
0AF9: samp say_msg "TEST Two"
end
end
:CMD
wait 0
if
056D: actor $PLAYER_ACTOR defined
then
0B12: 0@ = 0@ XOR 1
if
0@ == 1
then
print "Auto Key Bind: ~g~ON~w~" 1500
else
print "Auto Key Bind: ~r~OFF~w~" 1500
end
end
SAMP.CmdRet()
0000:
0B34: "akb" @CMD
while true
wait 0
if
0@ == 1
then
wait 90000
0AF9: samp say_msg "TEST One"
wait 120000
0AF9: samp say_msg "TEST Two"
end
end
:CMD
wait 0
if
056D: actor $PLAYER_ACTOR defined
then
0B12: 0@ = 0@ XOR 1
if
0@ == 1
then
print "Auto Key Bind: ~g~ON~w~" 1500
else
print "Auto Key Bind: ~r~OFF~w~" 1500
end
end
SAMP.CmdRet()