Alright, tried to debug, the problem occurs when I try to scan the string and withdraw the integer from the string. It just shows 0, any help?
[hr]
FIXED, got it to work. Thank you so much Malchik and supahdupahnubah for your help!
Can i just put %i at this line instead of %d
0AD4: 33@ = scan_string 0@v format "Kills: %d" 5@ //IF and SET
so it'll be Kills: %i
[hr]
How exactly will the code look when i add the format thing? I'm a bit confused
Alright, thank you very much for the fast responses! This may be locked.
[hr]
Actually i need help again, i did it like this :
while true
wait 0
if
key_down 0x61
then
wait 200
0AF9: samp say_msg "/stats"
wait 200
0BD7: samp get_dialog_text 0@
0AD4: 33@ = scan_string 0@v format "Kills: %d" 5@...
Hello guys, is it possible to make a script that reads a string from a dialog and stores it?
If yes could someone please show me how?
For an example The number of kills is : *number*, and store that number.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.