LuxAdmin VIP system
#1

Hi, I am using LuxAdmin and trying to make a command for vips of a certain level. this is the variable I use to determine if the player is a VIP(I got this variable from here).
PHP код:
if(IsPlayerVipType(playerid,2)) 
this is the error i get when I use it:
Код:
error 017: undefined symbol "IsPlayerVipType"
.

Can someone please tell me what is the correct variable?
Reply
#2

I've read the thread and actually, you're using the wrong function
The correct function would be (As stated in the thread)
pawn Код:
if(IsPlayerVipMember(playerid))
Reply
#3

doesn't that check if the player is a vip at ANY lvl?
Reply
#4

Sorry, misread
Anyways, try this
pawn Код:
if(AccInfo[playerid][pVip] >= 2)
Reply
#5

yeah lol i figured it out after i asked the question but thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)