Command help
#1

Whats wrong? :3

PHP код:
CMD:setscore(playeridparams[])
{
    new 
targetidammount;
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_NICERED,SEM_NIVEL);
    if(
sscanf(params,"ui"targetidammount)) return SendClientMessage(playeridCOLOR_ADMINCMD,"*{C8C8C8} Comando:{FFFFFF} /setscore [playerid/ParteDoNome] [Score]");
    if(!
IsPlayerConnected(targetid)) return SendClientMessage(playeridCOLOR_NICERED,"*[ERRO:] O jogador nao estб conectado!");
    
GetPlayerScore(targetidammount);
    return 
1;

PHP код:
C:\Users\Bruno\Desktop\CoD-Rivals\CoD-Rivals\gamemodes\CoD-R.pwn(413) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

Reply


Messages In This Thread
Command help - by DaYviSoN - 06.05.2014, 13:02
Re: Command help - by Konstantinos - 06.05.2014, 13:07
Re: Command help - by DaYviSoN - 06.05.2014, 13:18

Forum Jump:


Users browsing this thread: 1 Guest(s)