Casino and Mod Garage
#4

Check If you have any functions that are blocking the Pay 'n' Spray, something like this:

PHP код:
DisableTuningGarages();
DisablePayNSpray();
SetPayNSprayPrice(price);
SetComponentPrice(componentid);
public 
OnVehiclePayNSpray(vehicleid,color1,color2);
public 
OnVehicleTuned(vehicleid);
public 
OnVehicleEnterTuneShop(vehicleid); //for anti-teleport anticheat
public OnVehicleExitTuneShop(vehicleid); //for anti-teleport anticheat 
Well, I can't really help you out with this one since I'm not really sure how you do that. What you could do is use IsPlayerInRangeOfPoint (https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint), get the coordinates of the garages you want to use and then allow them to type /tune near the garages.

Hopefully someone else can just tell you how to allow people to enter the garages.
Reply


Messages In This Thread
Casino and Mod Garage - by Belajac - 30.06.2013, 12:28
Re: Casino and Mod Garage - by Twizted - 30.06.2013, 12:38
Re: Casino and Mod Garage - by Belajac - 30.06.2013, 12:45
Re: Casino and Mod Garage - by Twizted - 30.06.2013, 13:00
Re: Casino and Mod Garage - by Belajac - 30.06.2013, 13:21
Re: Casino and Mod Garage - by Twizted - 30.06.2013, 13:25
Re: Casino and Mod Garage - by Belajac - 02.07.2013, 14:35

Forum Jump:


Users browsing this thread: 2 Guest(s)