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;
}
error 035: argument type mismatch (argument 2)
format(string2,sizeof(string2),"Name: %s Kills: %d Deaths: %d",name,PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths]);
SendClientMessage(playerid, COL_RED, string);
pawn Код:
|