09.11.2012, 19:50
Hello, I tried creating a simple stats command, but I am getting an error.
here is the command-...
Here is the 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;
}
pawn Код:
error 035: argument type mismatch (argument 2)