Help PlayerInfo
#1

Hey, I get This Error when I am trying to make an Admin Command.
pawn Код:
C:\Users\matriXgameR\Desktop\Pawno\gamemodes\BGRP.pwn(147) : error 017: undefined symbol "PlayerInfo"
C:\Users\matriXgameR\Desktop\Pawno\gamemodes\BGRP.pwn(147) : warning 215: expression has no effect
C:\Users\matriXgameR\Desktop\Pawno\gamemodes\BGRP.pwn(147) : error 001: expected token: ";", but found "]"
C:\Users\matriXgameR\Desktop\Pawno\gamemodes\BGRP.pwn(147) : error 029: invalid expression, assumed zero
C:\Users\matriXgameR\Desktop\Pawno\gamemodes\BGRP.pwn(147) : 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.
My Enum:
pawn Код:
enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];
The Command:
pawn Код:
CMD:uzmigun(playerid, params[])
{
if(!PlayerInfo[playerid][pAdmin]) = 1) return SendClientMessage(playerid, COLOR_RED, "[BG:RP] Niste ovlascenji da koristite ovu komandu.");
{
SendClientMessage(playerid, COLOR_RED, "Ova komanda je u izradi.");
}
return 1;
}
HELP
Reply


Messages In This Thread
Help PlayerInfo - by MatriXgaMer - 15.12.2013, 08:18
Re: Help PlayerInfo - by Hybris - 15.12.2013, 08:24
Re: Help PlayerInfo - by Patrick - 15.12.2013, 08:25
Re: Help PlayerInfo - by ikbenremco - 15.12.2013, 08:25
Re: Help PlayerInfo - by MatriXgaMer - 15.12.2013, 08:27
Re: Help PlayerInfo - by J4mmyHD - 15.12.2013, 13:19
Re: Help PlayerInfo - by Chenko - 15.12.2013, 15:39

Forum Jump:


Users browsing this thread: 3 Guest(s)