SA-MP Forums Archive
strrest - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: strrest (/showthread.php?tid=94168)



strrest - iRonKiD - 28.08.2009

Hey.
can someone give me a guide about how using function "strrest" with an example?
thanks


Re: strrest - woot - 28.08.2009

https://sampwiki.blast.hk/wiki/Useful_Functions#strrest


Re: strrest - iRonKiD - 28.08.2009

Код:
new string[256];
string = strrest(cmdtext, idx);
if(!strlen(string)) return 1;
what is the problem here?


Re: strrest - CoaPsyFactor - 30.08.2010

its nothing the problem


Re: strrest - sabreman - 27.05.2011

No problem, if you are wondering why it isn't doing anything. Its "return 1;". Change it to "return 0;" or "SendClientMessage(playerid, COLOR_XX, XXX);"