[SUGGESTION] Disable mod garages & Pay and spray -
Axuj - 04.12.2010
So, my suggestion is to create a function which disables mod garages and pay and sprays. It's very good for RP servers, mechanics job. When anyone can't tuning vehicle in garage, they will give work to mechanics isn't it?
Comment please
A few suggestions for a pay n spray and tuning shops by papedo:
Код:
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
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Retardedwolf - 04.12.2010
Disable everything except the GTA Map.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
veyron - 04.12.2010
why couldnt you just block the door with some object?
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Axuj - 04.12.2010
I can do it, everyone can do it, but i guess this is better. Or not?
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Steven82 - 04.12.2010
Why waste the time making a function when you can easliy map a gate that can we opened to acess it if you really wanted/needed to.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Sergei - 04.12.2010
Some people would like to use those garages for other things, so bocking them is not a soluction, okay?
Re: [SUGGESTION] Disable mod garages & Pay and spray -
beckzy - 04.12.2010
Returning 0 in OnEnterExitModShop would make more sense
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Wennicke - 04.12.2010
Set their money to $0, and then they won't be able to use it. Build up a money anticheat which gives you another kind of money than the real "SA:MP" one.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Hal - 04.12.2010
Like other people suggest, if you want to disable them, just block them and put like bombs inside so it cant be used
Re: [SUGGESTION] Disable mod garages & Pay and spray -
blackwave - 04.12.2010
Quote:
Originally Posted by BeckzyBoi
Returning 0 in OnEnterExitModShop would make more sense
|
Ya. But his idea about a function which'd block these mods/ pay n spray wouldn't be a bad idea too
Re: [SUGGESTION] Disable mod garages & Pay and spray -
papedo - 04.12.2010
A few suggestions for a pay n spray and tuning shops:
Код:
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
Re: [SUGGESTION] Disable mod garages & Pay and spray -
blackwave - 04.12.2010
Код:
SetPayNSprayPrice(price);
SetComponentPrice(componentid);
I think wouldn't be possible due the default game price. The single of it would be programming, like selling weapons through dialog or text, which values are changable.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
scripter1 - 04.12.2010
This is a good idea.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
The_Gangstas - 04.12.2010
pawn Код:
public OnVehiclePayNSpray(vehicleid,color1,color2);
public OnVehicleTuned(vehicleid);
public OnVehicleEnterTuneShop(vehicleid); //for anti-teleport anticheat
public OnVehicleExitTuneShop(vehicleid); //for anti-teleport anticheat
onvehicleenterexitmodshop
onvehiclemod
onvehiclepaintjob
onvehiclerespary
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Wennicke - 04.12.2010
Actually I don't think this is possible as it's a part of the GTA:SA that if you got money enough you can enter a shop/pay 'n' spray.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Axuj - 04.12.2010
Why not, when you have sultan you can not enter normal mod shop...?
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Wennicke - 04.12.2010
Quote:
Originally Posted by Axuj
Why not, when you have sultan you can not enter normal mod shop...?
|
That's also a part of the GTA:SA thing. It was made for single player that you can't with a Sultan in a normal mod shop. Which means I don't think you can make so all vehicles can't.
Re: [SUGGESTION] Disable mod garages & Pay and spray -
papedo - 04.12.2010
Quote:
Originally Posted by blackwave
Код:
SetPayNSprayPrice(price);
SetComponentPrice(componentid);
I think wouldn't be possible due the default game price. The single of it would be programming, like selling weapons through dialog or text, which values are changable.
|
I am from Czech Republic, so I remade currency on my server to CZK and becouse CZK is weaker currency i must increased charge in pay n spray from 100 to 1000CZK (when car resprayed, i catch driver 900 CZK
) Otherwise it i cant do... I can just hope for release some function that, can set pay n spray price...
Re: [SUGGESTION] Disable mod garages & Pay and spray -
Joe Staff - 04.12.2010
I think it should be tied with the DisableInteriorEnterExits function
Re: [SUGGESTION] Disable mod garages & Pay and spray -
The_Moddler - 04.12.2010
Quote:
Originally Posted by SilentHuntR
I think it should be tied with the DisableInteriorEnterExits function
|
No.. becouse maybe you want interiors, but no Pay N Spray..