Fun server score 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: Fun server score vip system . (
/showthread.php?tid=285710)
Fun server score vip system . -
janx221 - 25.09.2011
Hey , i need Admin/7vip system...
Like if i have 2500 score. then i get vip lvl1
3500 score . i get lvl 2vip
4500 score , i get level 3 vip
and 5000 score then i got admin lvl1
Something like this ,
can someone give me ?
Re: Fun server score vip system . -
Pharrel - 25.09.2011
The search will love to give you this sistem!
Re : Fun server score vip system . -
timaoux - 25.09.2011
pawn Код:
enum pinfo
{
ALevel,
VLevel,
};
new Level[MAX_PLAYERS][pinfo];
public OnPlayerUpdate
{
if(GetPlayerScore(playerid) >= 2500)
{
Level[playerid][VLevel] = 1;
}
if(GetPlayerScore(playerid) >= 3500)
{
Level[playerid][VLevel] = 2;
}
if(GetPlayerScore(playerid) >= 4500)
{
Level[playerid][VLevel] = 3;
}
if(GetPlayerScore(playerid) >= 5000)
{
Level[playerid][ALevel] = 1;
}
return 1;
}
thats only for set his level when he get the score