SA-MP Forums Archive
Need help with saving nubmers from command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with saving nubmers from command (/showthread.php?tid=447604)



Need help with saving nubmers from command - Zigonja - 30.06.2013

So, I want to do /save 1234 and it would save in a file, and after I did some command it would call it.

I'd need it for that line
pawn Код:
if(strcmp(inputtext, "4765", true) == 0)
to replace the 4765 with the number I'd save in with a command before.

Thanks in advance


Re: Need help with saving nubmers from command - _Khaled_ - 30.06.2013

What saving system are you using?


Re: Need help with saving nubmers from command - Zigonja - 30.06.2013

None really, I would use normal strcmp