SA-MP Forums Archive
String problem - 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: String problem (/showthread.php?tid=550005)



String problem - Dusan01 - 10.12.2014

Hi guys. i have http response code, and i code looks like:
pawn Код:
new string[126];
 format(string, sizeof(string), "%s", data);
SCMTA(-1,string);
and i get result 2, so problem is how can i put that in normal variable lake it is
pawn Код:
new vrb;



Re: String problem - Divergent - 10.12.2014

You want to make the data string a numeric variable? Could you show us the HTTP code?


Re: String problem - dominik523 - 10.12.2014

Check this out:
https://sampwiki.blast.hk/wiki/Strval


Re: String problem - Dusan01 - 11.12.2014

Quote:
Originally Posted by dominik523
Посмотреть сообщение
Thanks