Please help with: warning 202
#1

Please, help me with this warnings:

PHP код:
#if USE_STATS == true
dcmd_stats(playerid,params[])
{
    new 
pDeaths;
    new 
player1hms;
    if(!
strlen(params)) player1 playerid;
    else 
player1 strval(params);
    if(
IsPlayerConnected(player1))
    {
    
TotalGameTime(player1hms);
    if(
AccInfo[player1][Deaths] == 0pDeaths 1;
    else 
pDeaths AccInfo[player1][Deaths];
      return 
ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"%s's Stats:","Kills: [%d] | Deaths: [%d] | Ratio: [%0.2f] | Money: [$%d]\nTime: [%d] hrs [%d] mins [%d] secs","Ok","Cancel",PlayerName2(player1),AccInfo[player1][Kills], AccInfo[player1][Deaths], Float:AccInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1), hms);
    } else
    return 
SendClientMessage(playeridred"Player Not Connected!");
}
#endif 
8 Warnings:
PHP код:
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition
(1314) : warning 202number of arguments does not match definition 
Line 1314:

PHP код:
return ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"%s's Stats:","Kills: [%d] | Deaths: [%d] | Ratio: [%0.2f] | Money: [$%d]\nTime: [%d] hrs [%d] mins [%d] secs","Ok","Cancel",PlayerName2(player1),AccInfo[player1][Kills], AccInfo[player1][Deaths], Float:AccInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1), hms); 
It shows this:

Reply


Messages In This Thread
Please help with: warning 202 - by [DC] - 13.12.2011, 16:46
Re: Please help with: warning 202 - by wildcookie007 - 13.12.2011, 16:50
Re: Please help with: warning 202 - by doreto - 13.12.2011, 16:52
Respuesta: Re: Please help with: warning 202 - by [DC] - 13.12.2011, 16:58
Re: Please help with: warning 202 - by Ballu Miaa - 13.12.2011, 17:28
Respuesta: Please help with: warning 202 - by [DC] - 13.12.2011, 17:34
Re: Please help with: warning 202 - by Babul - 13.12.2011, 17:38
Re: Respuesta: Please help with: warning 202 - by Ballu Miaa - 13.12.2011, 17:38
Respuesta: Re: Please help with: warning 202 - by [DC] - 13.12.2011, 17:54
Re: Please help with: warning 202 - by Ballu Miaa - 13.12.2011, 17:56

Forum Jump:


Users browsing this thread: 3 Guest(s)