STRMID WIKI ARTICLE!
#2

I wrote this test filterscript and ran it, and it worked fine:

pawn Код:
#include a_samp

public OnFilterScriptInit()
{
    new dest[128];
    new source[] = "Hello World!";
   
    strmid(dest, source, 0, 5);
    print(dest);
}
Outputs "Hello".

Perhaps you're using it wrong.
Reply


Messages In This Thread
STRMID WIKI ARTICLE! - by Caupo - 12.03.2013, 14:44
Re: STRMID WIKI ARTICLE! - by MP2 - 12.03.2013, 14:51
Re: STRMID WIKI ARTICLE! - by KP2 - 12.03.2013, 15:42
Re: STRMID WIKI ARTICLE! - by Bakr - 12.03.2013, 17:37
Re: STRMID WIKI ARTICLE! - by MP2 - 12.03.2013, 17:55
Re: STRMID WIKI ARTICLE! - by Caupo - 12.03.2013, 18:07
Re: STRMID WIKI ARTICLE! - by Caupo - 12.03.2013, 21:21
Re: STRMID WIKI ARTICLE! - by Bakr - 12.03.2013, 21:37
Re: STRMID WIKI ARTICLE! - by Caupo - 12.03.2013, 21:44
Re: STRMID WIKI ARTICLE! - by Bakr - 12.03.2013, 22:00

Forum Jump:


Users browsing this thread: 3 Guest(s)