SA-MP Forums Archive
LuxAdmin VIP system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: LuxAdmin VIP system (/showthread.php?tid=414074)



LuxAdmin VIP system - megamind2067 - 08.02.2013

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?


Re: LuxAdmin VIP system - Neil. - 08.02.2013

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))



Re: LuxAdmin VIP system - megamind2067 - 08.02.2013

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


Re: LuxAdmin VIP system - Neil. - 08.02.2013

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



Re: LuxAdmin VIP system - megamind2067 - 08.02.2013

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