How when i get 2000 score i get "VIP user lvl 1?" - 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: How when i get 2000 score i get "VIP user lvl 1?" (
/showthread.php?tid=325550)
How when i get 2000 score i get "VIP user lvl 1?" -
michael_dark_1 - 13.03.2012
help!!
Re: How when i get 2000 score i get "VIP user lvl 1?" -
Shabi RoxX - 13.03.2012
Create a timer to check if player score is or greater than 2000 make him VIP..
Respuesta: Re: How when i get 2000 score i get "VIP user lvl 1?" -
michael_dark_1 - 14.03.2012
Quote:
Originally Posted by Shabi RoxX
Create a timer to check if player score is or greater than 2000 make him VIP..
|
can you make it for me?
Re: How when i get 2000 score i get "VIP user lvl 1?" -
Reklez - 14.03.2012
first you need a VIP System (or make your own)
create a enum example
pawn Код:
enum pInfo
{
VIP
};
new VIPInfo[MAX_PLAYERS][pInfo];
then do what ShabiRoxX says. something like this
pawn Код:
if(GetPlayerScore(playerid) == 2000) //checks if player has the score 2,000
{
VIPInfo[playerid][VIP] = 1; //will set player VIP level to 1
}
you must create timer first!
then there create a command for your VIP levels. for me the good level is VIP level 1 to 3.
Код:
Trial VIP
Silver VIP
Gold VIP