[Ajuda] Presciso Colocar Isso Em Um GM Como Coloco Se Colocar Assim Da Erro
#1

Code:
public GetPlayerAVSAdmin(playerid)
{
    return PlayerInfo[playerid][pAdmin];
}
Os Erros Sгo Esse
C:\Users\Luiz Garcia\Documents\Servidor\gamemodes\BLL.pwn(929) : warning 235: public function lacks forward declaration (symbol "GetPlayerAVSAdmin")
C:\Users\Luiz Garcia\Documents\Servidor\gamemodes\BLL.pwn(931) : error 017: undefined symbol "PlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Quote:
Originally Posted by TenenTeOfStreeT
View Post
Code:
public GetPlayerAVSAdmin(playerid)
{
    return PlayerInfo[playerid][pAdmin];
}
Tem que ver se teu Gm tem o sistema de admin usando o [pAdmin], qual a msg de erro?
Reply
#3

Os Erros Sгo Esses

C:\Users\Luiz Garcia\Documents\Servidor\gamemodes\BLL.pwn(929) : warning 235: public function lacks forward declaration (symbol "GetPlayerAVSAdmin")
C:\Users\Luiz Garcia\Documents\Servidor\gamemodes\BLL.pwn(931) : error 017: undefined symbol "PlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

=============================
Abaixo das New's coloque isto

enum pInfo
{
pAdmin,
}

new PlayerInfo[MAX_PLAYERS][Info];
=============================

Se jб tiver isto

enum pInfo
{
pAdmin,
}

no seu GM abaixo disto poe sу isto

new PlayerInfo[MAX_PLAYERS][Info];
=============================
Reply
#5

Ja Tem Essa Linha No Meu GM
Reply
#6

Jб tem isto ?

new PlayerInfo[MAX_PLAYERS][Info];
Reply
#7

Sim Olha Ai

enum
pInfo{pKey[128],pLevel,pAdmin,pHelper,pVIP,pSocio,pGrampo,gPupgra de,pConnectTime,pReg,pSex,pAge,pMuted,
pSequestrado,pExp,pCash,pConta,pCrimes,pKills,pDea ths,pPhoneBook,pLottoNr,pFishes,pBiggestFish,pEmpr ego,
pSalario,pHeadValue,pHeadValueT,pJailed,pJailTime, pMats,pDrogas,pDrogas2,pDrogas3,pLider,pMembro,pCa rgo,
pSkin,pContractTime,pDetSkill,pSexSkill,pBoxSkill, pLawSkill,pMechSkill,pNewsSkill,pDrogasSkill,pCook Skill,
pFishSkill,FloatSHealth,pInt,pCapacete,pLocal,pT eam,pPnumber,pPHousekey,pPbiskey,FloatPos_x,Floa tPos_y,
FloatPos_z,pCarLic,pFlyLic,pBoatLic,pFishLic,pGu nLic,pPayDay,pCDPlayer,pWins,pLoses,pAlcoholPerk,p DrugPerk,
pMiserPerk,pPainPerk,pTraderPerk,pTut,pWarns,pMarr ied,pParedao,pRequestingBackup,pMask,pMaskuse,pBar raca,
pMarriedTo[64],pSpawn,pSafeDrogas,pSafeDrogas2,pSafeDrogas3,pVei culo,pVeiculo2,pVeiculo3,pCarKey,pCarKey2,
psMats,pPHouseCarkey,pLuta,pDorgado,pDorgado2,pDoe nca,pCreditos,pLastLogin[20],pGun1,pGun2,pGun3,pGun4,pGun5,
pGun6,pGun7,pGun8,pGun9,pGun10,pGun11,pGun12,pAmmo 1,pAmmo2,pAmmo3,pAmmo4,pAmmo5,pAmmo6, pAmmo7,pAmmo8,pAmmo9,
pAmmo10,pAmmo11,pAmmo12,pCheckInfoOrg,pCaixinha,pB an,};
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#8

enum Info
pInfo{pKey[128],pLevel,pAdmin,pHelper,pVIP,pSocio,pGrampo,gPupgra de,pConnectTime,pReg,pSex,pAge,pMuted,
pSequestrado,pExp,pCash,pConta,pCrimes,pKills,pDea ths,pPhoneBook,pLottoNr,pFishes,pBiggestFish,pEmpr ego,
pSalario,pHeadValue,pHeadValueT,pJailed,pJailTime, pMats,pDrogas,pDrogas2,pDrogas3,pLider,pMembro,pCa rgo,
pSkin,pContractTime,pDetSkill,pSexSkill,pBoxSkill, pLawSkill,pMechSkill,pNewsSkill,pDrogasSkill,pCook Skill,
pFishSkill,FloatSHealth,pInt,pCapacete,pLocal,pT eam,pPnumber,pPHousekey,pPbiskey,FloatPos_x,Floa tPos_y,
FloatPos_z,pCarLic,pFlyLic,pBoatLic,pFishLic,pGu nLic,pPayDay,pCDPlayer,pWins,pLoses,pAlcoholPerk,p DrugPerk,
pMiserPerk,pPainPerk,pTraderPerk,pTut,pWarns,pMarr ied,pParedao,pRequestingBackup,pMask,pMaskuse,pBar raca,
pMarriedTo[64],pSpawn,pSafeDrogas,pSafeDrogas2,pSafeDrogas3,pVei culo,pVeiculo2,pVeiculo3,pCarKey,pCarKey2,
psMats,pPHouseCarkey,pLuta,pDorgado,pDorgado2,pDoe nca,pCreditos,pLastLogin[20],pGun1,pGun2,pGun3,pGun4,pGun5,
pGun6,pGun7,pGun8,pGun9,pGun10,pGun11,pGun12,pAmmo 1,pAmmo2,pAmmo3,pAmmo4,pAmmo5,pAmmo6, pAmmo7,pAmmo8,pAmmo9,
pAmmo10,pAmmo11,pAmmo12,pCheckInfoOrg,pCaixinha,pB an,};

new PlayerInfo[MAX_PLAYERS][pInfo];


Tente assim
Reply
#9

Nгo Deu Um Monte De Erro
Reply
#10

Й Isso Que Eu Quero Por No Meu Gm Olha Ai Se Vocк Intende:

https://sampforum.blast.hk/showthread.php?tid=276887
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)