Help for a little error - 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: Help for a little error (
/showthread.php?tid=244203)
Help for a little error -
luis_mendoza - 26.03.2011
I made an admin system and when i compile i get this error.
D:\streetgangs tdm\gamemodes\Test.pwn(2372) : error 030: compound statement not closed at the end of file (started at line 2350)
And "lines" where are errors
2350 if(!strcmp(name, "Password",false)) {
PInfo[playerid][Passwrd] = strval(value); //Sets the value of the password to the value in the file and so on.
}
2353 if(!strcmp(name, "Level", false) ) {
PInfo[playerid][Level] = strval(value); //This Level variable is set to the value in the userfile
}
2356 if(!strcmp(name, "VIP", false) ) {
PInfo[playerid][VIP] = strval(value);
}
2359 if(!strcmp(name, "Cash", false) ) {
PInfo[playerid][Cash] = strval(value);
}
2362 if(!strcmp(name, "Score", false) ) {
PInfo[playerid][Score] = strval(value);
}
2365 if(!strcmp(name, "Kills", false) ) {
PInfo[playerid][Kills] = strval(value);
}
2368 if(!strcmp(name, "Deaths", false) ) {
PInfo[playerid][Deaths] = strval(value);
Please help and what i have to edit
Re: Help for a little error -
Stigg - 26.03.2011
You missed a '}' somewhere near the end.
Re: Help for a little error -
luis_mendoza - 26.03.2011
EDIT: I found the problem ty