SA-MP Forums Archive
Another admin rank - 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: Another admin rank (/showthread.php?tid=404963)



Another admin rank - Don_Cage - 05.01.2013

Hello, I am trying to add another admin rank for my script but when i complie it i get some errors..

pawn Код:
C:\Users\new account\Desktop\Everything and Anything\Server\NEW SCRIPT!!!\Script\gamemodes\Script.pwn(74199) : error 017: undefined symbol "strR"
C:\Users\new account\Desktop\Everything and Anything\Server\NEW SCRIPT!!!\Script\gamemodes\Script.pwn(74199) : warning 215: expression has no effect
C:\Users\new account\Desktop\Everything and Anything\Server\NEW SCRIPT!!!\Script\gamemodes\Script.pwn(74199) : error 001: expected token: ";", but found "]"
C:\Users\new account\Desktop\Everything and Anything\Server\NEW SCRIPT!!!\Script\gamemodes\Script.pwn(74199) : error 029: invalid expression, assumed zero
C:\Users\new account\Desktop\Everything and Anything\Server\NEW SCRIPT!!!\Script\gamemodes\Script.pwn(74199) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Its only one line but i give you some more incase the problem is in one of them too..
pawn Код:
new is2=is1+1;
    new p=0;
    while(p==0)
    {
    if('0'<=text[is2]<='9'&&strlen(text[is2])) is2++;
    else
    {
    strmid(strR[r],text,is1,is2,255);//THIS LINE
    if(strval(strR[r])<255) r++;
    is1=is2;
    p=1;
    }
    }
    }
    is1++;
    }
    if(r>=4)
    {



Re: Another admin rank - InActtive™ - 05.01.2013

What the actual fuck is this shit? O_O


Re: Another admin rank - Don_Cage - 05.01.2013

I tried to add one more admin rank and i got that error


Re: Another admin rank - InActtive™ - 05.01.2013

Well, I still don't know what the hell I'm looking at, but your "strR" isn't defined.


Re: Another admin rank - Don_Cage - 05.01.2013

Well that was a fail...