How to make a filterscript for vip only?
#1

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

Well You Should be using a
Код:
IsPlayerAdmin
That Tells The System That He Has To be a certain level
Reply
#3

I got a LA-RP Edit
Reply
#4

How are you defining your vip players ?
Reply
#5

My english is not very good can you explain that to me?
Reply
#6

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

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;
Reply
#8

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?
Reply
#9

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)