deci uitati imi da urmatoarea eroare C:\DOCUME~1\Nicushor\Desktop\RDMR7~1\RDM\FILTER~1\Radmin.pwn(5330) : error 017: undefined symbol "GivePlayerScore"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
dar oare ce am gresit uitati si comanda
dcmd_giveallscore(playerid,params[]) {
if(PlayerInfo[playerid][Level] >= 10) {
if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /giveallscore [Amount]");
new var = strval(params), string[128];
CMDMessageToAdmins(playerid,"GIVEALLSCORE");
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
PlayerPlaySound(i,1057,0.0,0.0,0.0);
GivePlayerScore(i,var);
}
}
format(string,sizeof(string),"Administrator \"%s\" has given all players 'score%d'", pName(playerid), var );
return SendClientMessageToAll(blue, string);
} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
} sper sa ma puteti ajuta