SA-MP Forums Archive
My Admin Script Errors/Warnings - 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: My Admin Script Errors/Warnings (/showthread.php?tid=257128)



My Admin Script Errors/Warnings - Shoaib - 24.05.2011

Quote:

C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(240) : error 076: syntax error in the expression, or invalid function call
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(240) : warning 215: expression has no effect
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(255) : error 076: syntax error in the expression, or invalid function call
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(255) : warning 215: expression has no effect
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(274) : error 021: symbol already defined: "strtok"
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(28 : error 047: array sizes do not match, or destination array is too small
C:\Users\Hamza Ali\Desktop\[XTC]Man Server ORGINAL\filterscripts\admin 1.pwn(290) : warning 203: symbol is never used: "dcmd_slap"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Line 240
Quote:

TogglePlayerControllable 0;

Line 255
Quote:

TogglePlayerControllable 1;

Line 274
Quote:

strtok(const string[], &index)

Line 288
Quote:

return result;

No Line 290 NO LINE 290!


Re: My Admin Script Errors/Warnings - Wesley221 - 24.05.2011

TogglePlayerControllable 0; should be: TogglePlayerControllable(playerid, 0/1);
Im not sure about the others, you gotta wait till someone else response


Re: My Admin Script Errors/Warnings - (SF)Noobanatior - 24.05.2011

you have strtok defined twice in your gamemode delete one of them


Re: My Admin Script Errors/Warnings - Shoaib - 24.05.2011

Thanks Noobanatior And Wesly221


Re: My Admin Script Errors/Warnings - Shoaib - 24.05.2011

My Server Crashes When Someone Types /register Can You Help Please I Use inculde dini Only
So Like Pinfo OR Something if u help i will incudle ur credits thnx


Re: My Admin Script Errors/Warnings - Shoaib - 24.05.2011

anyone can make me register and login with dini


Re: My Admin Script Errors/Warnings - Steven82 - 24.05.2011

UH...you can look int scripting tutorials section and boom. But i suggest y_ini or MySQL..


Re: My Admin Script Errors/Warnings - Shoaib - 24.05.2011

Erm Im New And This Is Like My Hardest Script Ever Im Gonna Release I Will Go With Your IDEA I WILL RESTART TOMMOR AND WHISH ME LICK THANKS BECUSE I NEED IT FOR MY SERVER AND MIGHT RELEASE TO SO THNX