SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vip System (/showthread.php?tid=246737)



Vip System - Snowman12 - 05.04.2011

Hay,
Ive added Vip to enum and i want to know how i make the varible

so

0 = Non Vip
1 = Bronze
2 = Sliver
3 = Gold
4 = Platinum

i have a few commands in mind and im also doing a trial Vip but i need to know how to do these varibles before i can finish it


Re: Vip System - [M.A]Angel[M.A] - 05.04.2011

Download Lux admin it's have These.


Re: Vip System - HyperZ - 05.04.2011

pawn Код:
new pVIP[MAX_PLAYERS];



Re: Vip System - coole210 - 05.04.2011

Код:
new VIP[MAX_PLAYERS];
at the top of the script o.O

or

Код:
new VIP[MAX_PLAYERS][5];
for VIP[playerid][0,1,2,3,4];


Re: Vip System - Jakku - 05.04.2011

pawn Код:
new VIP[MAX_PLAYERS];

VIP[playerid] = 0; //Non vip
VIP[playerid] = 1; //Bronze
VIP[playerid] = 2; //Silver
VIP[playerid] = 3; //Gold
VIP[playerid] = 4; //Platinum
EDIT:
When you check if someone is a VIP use this

pawn Код:
if (VIP[playerid] != required_level) return SendClientMessage(playerid, COLOR,"You are not a VIP- Member!");



Re: Vip System - Snowman12 - 05.04.2011

thanks guys n i ignored the first comment because i dont want t give credit to them after ive scripted this all by myself so far n ive got help credits so layes can go /whohelp or /wh and your names will apper