How to make a filterscript for vip only? -
BraynBoyj - 12.06.2011
Hello,
Can someone please help me? I want to know how to make something for vip i got 3 levels bronze,silver,gold.
I got a filterscript(laser for your gun) and i want to make it for vip silver+ but i dont know how.
Can someone please help me?
Thank you,
Brayn
Re: How to make a filterscript for vip only? -
Bmxerlmao5288 - 12.06.2011
Well You Should be using a
That Tells The System That He Has To be a certain level
Re: How to make a filterscript for vip only? -
BraynBoyj - 12.06.2011
I got a LA-RP Edit
Re: How to make a filterscript for vip only? -
Stigg - 12.06.2011
How are you defining your vip players ?
Re: How to make a filterscript for vip only? -
BraynBoyj - 12.06.2011
My english is not very good can you explain that to me?
Re: How to make a filterscript for vip only? -
BraynBoyj - 12.06.2011
My VIP members can /changecar that allows them to change their car(Donator car, i use /donatecar on a owned car)
And i have a filterscript of lasers for your gun, but i want to make it for VIP Silver + .
But i dont know how to script that.
Re: How to make a filterscript for vip only? -
futuretrucker - 12.06.2011
You need to define VIP players. So you could put something like this in the command
pawn Код:
if(Playerinfo[playerid][VIP] >1)
{
//Command code here
}
else return 0;
Re: How to make a filterscript for vip only? -
BraynBoyj - 12.06.2011
if(Playerinfo[playerid][VIP] >2){ if (!strcmp("/laseron", cmdtext, true) {
SetPVarInt(playerid, "laser", 1);
SetPVarInt(playerid, "color", GetPVarInt(playerid, "color");
return 1;} else return 0;
}
like that?
Re: How to make a filterscript for vip only? -
ricardo178 - 12.06.2011
Oh MY GOD GUYS!
Are you stupid or you just want to confuse him
?
Man, do this:
Post here all the vip system script...
So i can see which variables are you using.....
And Bmxerlmao5288, IsPlayerAdmin only check if the player is an RCON admin.... It is nothing with the vip system...
And futuretrucker, you are near the true... but he had already defined the variables, we only need to know them, and to define them, we need to touch in the saving system, etc, not only put it in the command.
Re: How to make a filterscript for vip only? -
Stigg - 12.06.2011
Quote:
Originally Posted by ricardo178
Oh MY GOD GUYS!
Are you stupid or you just want to confuse him ??
|
I asked a valid question not tried to confuse him !
SIGH...I don't know, some people.