cacapipi69
Member
i found this script and modifiy it a little but i still need help, i dont know how to do the thing with %d and %s, to find id's etc. When in the chat appears "Use [/accept licence ID" i want this script to find the id and then write in the chat "/accept licence ID" but i dont know how. Also, i want this script to be every time active, every time when "Use [accept licence ID" appears, every time /accept licence ID not just once and done.
IF something is in plus in this script and don t do anything, please delete it.
IF something is in plus in this script and don t do anything, please delete it.
Code:
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA:
WHILE TRUE
WAIT 0
if
0B61: samp is_local_player_spawned
then
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
if
0C29: $NOT_USED = stristr string1 0@ string2 "Use [/accept licence %d"
then
0AF9: samp say_msg "/accept licence %s"
end
end
END