So i trying to make, when i get texdraw text, its have to say "/dm" the problem is that it doesn't work
@Monday
@Springfield
@Parazitas
others?
Maybe i missing
1@ += 1
1@ > 4096
?
Code:
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
0AC8: 2@ = allocate_memory_size 260
0B34: "ws" @DM
0@ = FALSE
While True
Wait 0
If
0@ == TRUE
Then
If
0C5D: samp textdraw 1@ is_exists
then
0C5A: samp textdraw 1@ get_string_to 2@
if
0C29: $NOT_USED = stristr string1 2@ string2 "War started type /dm"
then
wait 200
say "/dm"
end
end
end
END
:DM
0B12: 0@ = 0@ XOR TRUE
If
0@ == TRUE
Then
0ACD: show_text_highpriority "~W~DM: ~G~ON~W~" time 1000
else
0ACD: show_text_highpriority "~W~DM: ~R~OFF~W~" time 1000
end
CmdRet
@Monday
@Springfield
@Parazitas
others?
Maybe i missing
1@ += 1
1@ > 4096
?