06.03.2016, 07:21
(
Последний раз редактировалось TheBoZ; 06.03.2016 в 09:27.
)
Somehow i'm getting these errors in my script:
EDIT] Now i have another problem.
Coded script:
EDIT] Now i have another problem.
Код:
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; }