Stats command
#1

Hello, I tried creating a simple stats command, but I am getting an error.
here is the command-...

pawn Код:
CMD:stats(playerid,params[])
{
    new string2[200];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string2,sizeof(string2),"Name: %s \nKills: %d\nDeaths: %d",name,PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths]);
    SendClientMessage(playerid, COL_RED);
    return 1;
}
Here is the error
pawn Код:
error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
Stats command - by Zachlive - 09.11.2012, 19:50
Re: Stats command - by Glad2BeHere - 09.11.2012, 19:54
Re: Stats command - by YoYo123 - 09.11.2012, 19:55
Re: Stats command - by Zachlive - 09.11.2012, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)