[Ajuda] Cofre org
#1

Nгo estou entendendo esse erro:
pawn Code:
if (!strcmp("/cofreorg", cmdtext, true))
    {
         new Don[100];
         format(Don,sizeof(Don),"{FFFFFF}Dinheiro: %s\nDrogas: %ig\nMateriais: %i", CofreInfo[PlayerInfo[playerid][pMember]][pCash],CofreInfo[PlayerInfo[playerid][pMember]][pDrugs],CofreInfo[PlayerInfo[playerid][pMember]][pMats]);
         ShowPlayerDialog(playerid, 335, DIALOG_STYLE_MSGBOX, "Cofre", Don, "Close", "");
         return true;
    }

Erros
pawn Code:
C:\Users\User\Documents\Leonardo R\New server noiz dois\bslrpg\pawn\gamemodes\BSL.pwn(37137) : error 017: undefined symbol "CofreInfo"
C:\Users\User\Documents\Leonardo R\New server noiz dois\bslrpg\pawn\gamemodes\BSL.pwn(37137) : warning 215: expression has no effect
C:\Users\User\Documents\Leonardo R\New server noiz dois\bslrpg\pawn\gamemodes\BSL.pwn(37137) : error 001: expected token: ";", but found "]"
C:\Users\User\Documents\Leonardo R\New server noiz dois\bslrpg\pawn\gamemodes\BSL.pwn(37137) : error 029: invalid expression, assumed zero
C:\Users\User\Documents\Leonardo R\New server noiz dois\bslrpg\pawn\gamemodes\BSL.pwn(37137) : 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.
Reply
#2

a variavel nгo й
PHP Code:
CofreInfo 
procure por
PHP Code:
Enum 
e veja a variavel correta
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)