Need help...
#1

Hey guys how to fix this errors?

Line 62
pawn Код:
if(PlayerInfo[playerid][pVIP] > 1)
What I must do to fix this error?Please help.
Reply
#2

On top of your gamemode/filterscript

Код:
new PlayerInfo[MAX_PLAYERS];
Are you using Admin/Vip filterscript? or Did you made it in your own?

EDIT: RedJohn should take care of you
Reply
#3

Can you show us your enums? I think you are missing this:

pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
But show us your enums please!
Reply
#4

Quote:
Originally Posted by Smokkr
Посмотреть сообщение
Hey guys how to fix this errors?

Line 62
pawn Код:
if(PlayerInfo[playerid][pVIP] > 1)
What I must do to fix this error?Please help.
I do not know but I think it must be so
PHP код:
if(PlayerInfo[playerid][pVIP] > 1)
{
//Your Code
    
} else {
    
SendClientMessage(playeridCOLOR_RED"[ERROR:] The Error!");
    } 
Reply
#5

Are you fucking kidding me?
Reply
#6

pawn Код:
if(PlayerInfo[playerid][pVIP] > 1)
How you will use something that pawn didnt know it you must define it first so compiler know what is and for what
Reply
#7

Sorry double post.
Reply
#8

Yes, i told him that. I'm just waiting to see enums.
Reply
#9

Omg please

Something like this

Код:
enum PlayerData
{
	Registered,
	LoggedIn,
	pVip,
	Level,
	Muted,
	SpamCount,
	MaxAdv,
	#if EnableTwoRcon == true
	MaxRcon,
	#endif
	SpamTime,
	Caps,
	Kills,
	Deaths,
	Spawned,
	TimesSpawned,
	hours,
	mins,
	secs,
	MuteWarnings,
	Warnings,
	TotalTime,
	ConnectTime,
	pColour,
	pCar,
	DoorsLocked,
	Frozen,
	FreezeTime,
	PingTime,
	PingCount,
	pPing[PING_MAX_EXCEEDS],
	BotPing,
	Hide,
	OnDuty,
	Jailed,
	JailTime,
	blipS,
	blip,
	SpecType,
	SpecID,
	FailLogin,
	bool:AllowedIn,
	pCaged,
	pInvis,
	pCageTime,
	pGps,
	NoQuestion,
	#if EnableCamHack == true
	InCamMod,
	LockedCam,
	#endif
	pSecondScore,
};
Reply
#10

Show the whole code/command code of this part. It might be a simple lack/mixed ';'..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)