Diffrent Filterscripts
#1

Do i need to have my filterscripts Mixed in 1 Filterscript to set some commands for vip ?
for examle i'm using LuxAdmin Filterscript , and i want to set My Police Flash filterscript For VIP , should i mix two scripts into 1 ? cuz i tried this way , i had No errors or warnings but after that LuxAdmin's Commands Didnt work...But the flasher that i mixed into LuxAdmin Works perfectly
LuxAdmin =https://sampforum.blast.hk/showthread.php?tid=120724
Police Flash =https://sampforum.blast.hk/showthread.php?tid=352070

i need to set the command " /Flash " for Vips ... Please give me some tips
Reply
#2

Anyone ?? Please ....
Reply
#3

Include the plugin to use this in your filterscript
pawn Код:
#include <ladmin>
then you can enable it for all vips
pawn Код:
command(flash, playerid, params[]) {
    if(IsPlayerVipMember(playerid)) {
        new vehicleid,panels,doors,lights,tires;
        vehicleid = GetPlayerVehicleID(playerid);
        if(!Flasher[vehicleid]) {
       
        //the rest of the big ass switch
       
        }
    }
}
or just for silver for example
pawn Код:
command(flash, playerid, params[]) {
    If(IsPlayerVipType(playerid, 1)) {//silver is case 1
        new vehicleid,panels,doors,lights,tires;
        vehicleid = GetPlayerVehicleID(playerid);
        if(!Flasher[vehicleid]) {
       
        //the rest of the big ass switch
       
        }
    }
}
Код:
//Types:
//1 - Silver Account
//2 - Gold Account
//3 - Premium Account
Reply
#4

you need to include

pawn Код:
#include ladmin
Then you can use VIP commands in any script.



pawn Код:
COMMMAND: (playerid, params[])
{
    if(IsPlayerVipType(playerid,TYPE HERE))
    {
        //code
    }
    else return //tell them they dont have it. Or return 0;
    return 1;
}
Reply
#5

Thanks Fellas + Rep for u all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)