New to scripting and need help -
Michael_Cuellar - 22.04.2012
so im trying to add this in my script and its not working
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
I always get
C:\Users\Michael C\Desktop\GTA San Andreas\gamemodes\NE-RP.pwn(33
: warning 203: symbol is never used: "PlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Please help me and tell me what im doing wrong
Re: New to scripting and need help -
Phyrunx - 22.04.2012
erm.. Its a Warning Just Simply Ignore It
It will not Harm Your script :P
Until the Warnings are Thousands ;
Re: New to scripting and need help -
Nєχυѕ - 22.04.2012
Ignore it as the guy above me said. But if you want to solve this situation you need to find search for PlayerInfo in your script i.e CTRL + F and after you find it , simply delete the full line.
Re: New to scripting and need help -
Phyrunx - 22.04.2012
Ignore The Warnings Simply
Re: New to scripting and need help -
Rudy_ - 22.04.2012
what's the line of the error? change it to pInfo from PlayerInfo
Re: New to scripting and need help -
Michael_Cuellar - 22.04.2012
i need it to make a login system/;
Re: New to scripting and need help -
Nєχυѕ - 22.04.2012
Quote:
Originally Posted by Michael_Cuellar
i need it to make a login system/;
|
Remove all that shit , just look at
this tutorial and make a register/login system yourself or download
this.
Re: New to scripting and need help -
Firzendxiw - 22.04.2012
Quote:
Originally Posted by Michael_Cuellar
so im trying to add this in my script and its not working
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
I always get
C:\Users\Michael C\Desktop\GTA San Andreas\gamemodes\NE-RP.pwn(33 : warning 203: symbol is never used: "PlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Please help me and tell me what im doing wrong
|
Basically what it's saying is that the variable or whatever isn't being used. To get rid of this Warning just use something like this
Just an example, dont take this as the complete solution.
GetPlayerMoney(PlayerInfo[playerid][pCash]); //Gets the players cash value