New to scripting and need help
#1

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
Reply
#2

erm.. Its a Warning Just Simply Ignore It
It will not Harm Your script :P

Until the Warnings are Thousands ;
Reply
#3

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.
Reply
#4

Ignore The Warnings Simply
Reply
#5

what's the line of the error? change it to pInfo from PlayerInfo
Reply
#6

i need it to make a login system/;
Reply
#7

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.
Reply
#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


Forum Jump:


Users browsing this thread: 4 Guest(s)