06.05.2014, 13:02
Whats wrong? :3
PHP код:
CMD:setscore(playerid, params[])
{
new targetid, ammount;
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_NICERED,SEM_NIVEL);
if(sscanf(params,"ui", targetid, ammount)) return SendClientMessage(playerid, COLOR_ADMINCMD,"*{C8C8C8} Comando:{FFFFFF} /setscore [playerid/ParteDoNome] [Score]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_NICERED,"*[ERRO:] O jogador nao estб conectado!");
GetPlayerScore(targetid, ammount);
return 1;
}
PHP код:
C:\Users\Bruno\Desktop\CoD-Rivals\CoD-Rivals\gamemodes\CoD-R.pwn(413) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.