Error, help please.
#3

Quote:
Originally Posted by Affan
Посмотреть сообщение
pawn Код:
:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\isaid.pwn(20) : error 017: undefined symbol "PlayerInfo"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\isaid.pwn(20) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\isaid.pwn(20) : error 001: expected token: ";", but found "]"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\isaid.pwn(20) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\isaid.pwn(20) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Line 20:

pawn Код:
if(PlayerInfo[playerid][pAdmin] <= 3) return SendClientMessage(playerid,-1,"{FF0000}__**ERROR**__ {FFFFFF}You cannot use this command");// Admins below level 3 will not be able to use this command.
Are you following this thread ? https://sampforum.blast.hk/showthread.php?tid=404694

Back to the topic, First add this

pawn Код:
enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    pWantedLevel,
    pScore,
    pBankCash,
    pBankAccount,
    pRobSkill
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply


Messages In This Thread
Error, help please. - by Affan - 04.01.2013, 07:31
Re: Error, help please. - by Affan - 04.01.2013, 07:46
Re: Error, help please. - by Zex Tan - 04.01.2013, 07:55
Re: Error, help please. - by Affan - 04.01.2013, 08:00
Re: Error, help please. - by Dusan01 - 04.01.2013, 08:15
Re: Error, help please. - by Affan - 04.01.2013, 08:17
Re: Error, help please. - by Dusan01 - 04.01.2013, 08:22
Re: Error, help please. - by Affan - 04.01.2013, 08:30
Re: Error, help please. - by Dusan01 - 04.01.2013, 08:34
Re: Error, help please. - by InActtive™ - 04.01.2013, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)