[FilterScript] Bait-Car Prototype (New Idea for CnR!)
#7

pawn Код:
if (strcmp("/DIS", cmdtext, true)==0)
    {
        SendClientMessage(playerid, 0x00FFFFFF, "Bait-Car Disabled.");
        SetVehicleParamsEx(BC1, 0, 1, 0, 1, 0, 0, 0);
        SetVehicleParamsEx(BC2, 0, 1, 0, 1, 0, 0, 0);
        SetVehicleParamsEx(BC3, 0, 1, 0, 1, 0, 0, 0);
        return 1;
    }
This will turn off the engine for all the vehicles and I suggest to use a command proccecor to add params feature and use to advence your script,then you can make for example /dis [bcid(1-3)] instead of one command that turns off the engine for all the vehicles.
pawn Код:
DestroyVehicle(BC1);
DestroyVehicle(BC2);
DestroyVehicle(BC3);
For that case I suggest to check if the vehicle exist and/or destroy only one vehicle,the one that the command is used on.
for example /bc1 will destroy only vehicle BC1.

anyhow,nice idea.
Reply


Messages In This Thread
Bait-Car Prototype 2.0(New Idea for CnR!) - by Aerotactics - 30.06.2013, 14:11
Re: Bait-Car Prototype (New Idea for CnR!) - by Aerotactics - 30.06.2013, 19:37
Re: Bait-Car Prototype (New Idea for CnR!) - by NoahF - 30.06.2013, 19:39
Re: Bait-Car Prototype (New Idea for CnR!) - by Aerotactics - 30.06.2013, 19:46
Re: Bait-Car Prototype (New Idea for CnR!) - by Aerotactics - 30.06.2013, 20:55
Re: Bait-Car Prototype (New Idea for CnR!) - by Delta 4 - 30.06.2013, 21:10
Re: Bait-Car Prototype (New Idea for CnR!) - by Kaperstone - 30.06.2013, 21:15
Re: Bait-Car Prototype (New Idea for CnR!) - by Aerotactics - 30.06.2013, 22:12
Re: Bait-Car Prototype (New Idea for CnR!) - by Kar - 30.06.2013, 23:37
Re: Bait-Car Prototype (New Idea for CnR!) - by Aerotactics - 01.07.2013, 00:45

Forum Jump:


Users browsing this thread: 3 Guest(s)