/stats dialog doesn't work
#1

Hello im trying to create a /stats dialog but its not working and getting a warning:

PHP код:
(3595) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning



Command:
PHP код:
CMD:stats(playeridparams[])
{
    new 
string[128];
    
SendClientMessageEx(playeridTeamInfo[PlayerInfo[playerid][pTeam]][tColor], "____________________________________________________");
    
format(stringsizeof(string), "Name: %s | Score: %d | Kills: %d | Deaths: %d"pName(playerid), PlayerInfo[playerid][pScore], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]);
    
SendClientMessageEx(playeridCOLOR_WHITEstring);
    
SendClientMessageEx(playeridTeamInfo[PlayerInfo[playerid][pTeam]][tColor], "____________________________________________________");
    
ShowPlayerDialog(playerid,DIALOG_STATSDIALOG_STYLE_MSGBOX"Stats Test","Close""");
    return 
1;

Reply


Messages In This Thread
/stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:14
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:18
Re: /stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:28
Re: /stats dialog doesn't work - by ZaBraNjeNi - 13.05.2015, 17:37
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:37
Re: /stats dialog doesn't work - by Azula - 13.05.2015, 17:41
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:42
Re: /stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:43

Forum Jump:


Users browsing this thread: 3 Guest(s)