strmid | Server shut down - 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: strmid | Server shut down (
/showthread.php?tid=409480)
strmid | Server shut down -
arman'as - 21.01.2013
strmid(string,inputtext,0,128,12
;
If inputtext is %s,%d,%i... server shut down. How do this symbol % change to # with strfind fuction
Re: strmid | Server shut down -
Vince - 21.01.2013
pawn Код:
for(new i = strlen(inputtext); i > 0; i--)
{
if(inputtext[i] == '%') inputtext[i] = '#';
}