Problem with my script.
#1

Somehow i'm getting these errors in my 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)
Coded script:
Код:
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;

}
Reply


Messages In This Thread
[RESOLVED] - by TheBoZ - 06.03.2016, 07:21
Re: Problem with my script. - by TheBoZ - 06.03.2016, 07:28
Re: Problem with my script. - by TheBoZ - 06.03.2016, 07:41
Re: Problem with my script. - by nerovani - 06.03.2016, 08:27
Re: Problem with my script. - by TheBoZ - 06.03.2016, 08:36
Re: Problem with my script. - by itsCody - 06.03.2016, 08:39
Re: Problem with my script. - by TheBoZ - 06.03.2016, 08:43
Re: Problem with my script. - by TheHonnor - 06.03.2016, 08:53
Re: Problem with my script. - by TheBoZ - 06.03.2016, 08:57
Re: Problem with my script. - by TheHonnor - 06.03.2016, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)