Jump to content
  • 0

O mica eroare...


[XSR]NexT

Question

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 :P

35012l1.png.aee1a3398b9bd9f8eec50574d2cd

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.