06.03.2016, 07:41
[EDIT] Now i have another problem.
Coded script:
Код:
C:\Users\Nelson.Paulo2301-PC\Desktop\Database.pwn(141) : error 017: undefined symbol "pScore" C:\Users\Nelson.Paulo2301-PC\Desktop\Database.pwn(142) : error 035: argument type mismatch (argument 2)
Код:
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; }