05.03.2016, 19:22
: error 035: argument type mismatch (argument 2)
Please help me to fix it, rep for helping
Thanks.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/stats", true)) { new string[500]; format(string,sizeof(string),"Password: %s | Money: %d | Deaths: %d | Kills: %d | Score: %d | Admin: %d ",PlayerInfo[playerid][pPass],PlayerInfo[playerid][pCash],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pScore],PlayerInfo[playerid][pAdmin]); SendClientMessage(playerid,COL_GREEN,string); return 1; } return 0;
Thanks.