hi guys i need a cleo that read a number in the last line of the chat and store it to 1@
the chat line is like that
*the phone number is "456123"
and i want it to store only numbers
dark knight made this and it not work it say 2 paramaters needed in 0ac8
------------------------------------------------------------
{$CLEO}
{$NOSOURCE}
while true
wait 0
if 0AB0: key_pressed 0x73//F4
then
0ac8: 0@
0ac8: 1@
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 1@ prefix_color_to 1@
0af8: "%s" 0xFF00FF 0@
0ac9: 1@
0ac9: 1@
while 0AB0: key_pressed 0x73//F4
wait 0
end
end
end
-----------------------------------------------------------------
i change it to this
------------------------------------------------------------------
:TPTER_30
wait 1000
if
0ADC: test_cheat "kk"
jf @TPTER_30
jump @TPTER_60
:TPTER_60
wait 1
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
wait 20
0AF9: samp say_msg " %d try" 0@
0ac9: 0@
jump @TPTER_30
-----------------------------------------------------------------------
did not work help pleassssssssse
the chat line is like that
*the phone number is "456123"
and i want it to store only numbers
dark knight made this and it not work it say 2 paramaters needed in 0ac8
------------------------------------------------------------
{$CLEO}
{$NOSOURCE}
while true
wait 0
if 0AB0: key_pressed 0x73//F4
then
0ac8: 0@
0ac8: 1@
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 1@ prefix_color_to 1@
0af8: "%s" 0xFF00FF 0@
0ac9: 1@
0ac9: 1@
while 0AB0: key_pressed 0x73//F4
wait 0
end
end
end
-----------------------------------------------------------------
i change it to this
------------------------------------------------------------------
:TPTER_30
wait 1000
if
0ADC: test_cheat "kk"
jf @TPTER_30
jump @TPTER_60
:TPTER_60
wait 1
0B75: samp get_chat_string 99 text_to 0@ prefix_to 1@ color_to 2@ prefix_color_to 3@
wait 20
0AF9: samp say_msg " %d try" 0@
0ac9: 0@
jump @TPTER_30
-----------------------------------------------------------------------
did not work help pleassssssssse