26.03.2011, 15:54
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
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