Vip System
#1

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

Download Lux admin it's have These.
Reply
#3

pawn Код:
new pVIP[MAX_PLAYERS];
Reply
#4

Код:
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];
Reply
#5

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!");
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)