New to scripting and need help
#8

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
Reply


Messages In This Thread
New to scripting and need help - by Michael_Cuellar - 22.04.2012, 14:35
Re: New to scripting and need help - by Phyrunx - 22.04.2012, 14:37
Re: New to scripting and need help - by Nєχυѕ - 22.04.2012, 14:40
Re: New to scripting and need help - by Phyrunx - 22.04.2012, 14:45
Re: New to scripting and need help - by Rudy_ - 22.04.2012, 14:47
Re: New to scripting and need help - by Michael_Cuellar - 22.04.2012, 14:47
Re: New to scripting and need help - by Nєχυѕ - 22.04.2012, 14:53
Re: New to scripting and need help - by Firzendxiw - 22.04.2012, 15:29

Forum Jump:


Users browsing this thread: 2 Guest(s)