[AJUDA] Erro
#1

Bom eu estava trabalhando nesse gamemode que acabei de comeзar e entгo veio esse erro que nгo consigo entender...

Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\cnr.pwn(32) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\cnr.pwn(1176) : warning 203: symbol is never used: "gJob"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
O warning eu sei o que й, mais o erro nгo, as linhas que talvez interessem sгo:

pawn Код:
enum Jobs
{
    Rapist,
    Kidnapper,
    Hitman,
    Cop,
    Medic,
    Army
}

enum PlayerData
{
    Registered,
    Logged,
    ShowID,
    Level,
    Score,
    PocketCash,
    LastIP,
    Muted,
    RobSkill,
    RapeCount
}

new gPlayerData[MAX_PLAYERS][PlayerData];
new gJob[MAX_PLAYERS][Jobs];
A linha do erro й:
pawn Код:
Cop, //A mesma no enum "Jobs"
Obrigado pela ajuda
Reply
#2

Ja olhou se existe otra : new Cop ?
Reply
#3

Quote:
Originally Posted by HigorOliverr
Посмотреть сообщение
Ja olhou se existe otra : new Cop ?
The message you have entered is too short. Please lengthen your message to at least 8 characters.
Reply
#4

velho olhaa se nao existe otra new COP; ou new COP[MAX_PLAYERS];
Reply
#5

Quote:
Originally Posted by HigorOliverr
Посмотреть сообщение
velho olhaa se nao existe otra new COP; ou new COP[MAX_PLAYERS];
Nгo existe outra nгo, eu nem vou usar esse cуdigo pq percebi q n seria ъtil, mas sу pra tirar dъvida mesmo caso isso venha a ocorrer denovo..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)