vehicle health anticheat bug help -
The_Gangstas - 19.12.2010
i have a problem. my vehicle health anticheat works fine, but when they enter a pay n spray tthere health sets to 1000 and i don't know how to make the pay n spray give you 997 health instead of 1000. and i don't want to disable pay n sprays.
Re: vehicle health anticheat bug help -
Face9000 - 19.12.2010
Post your anticheat code.
Re: vehicle health anticheat bug help -
The_Gangstas - 19.12.2010
its not that.. i set all vehicles health to 997 but when they use a pay n spray they get banned because onvehicleenterexitmodshop etc isnt called with a pay n spray.. so they get banned for 1000 health. understand S
do pay n sprays change interiors? maybe i could use OnPlayerInteriorChange(playerid,newinteriorid,oldi nteriorid)
Re: vehicle health anticheat bug help -
Face9000 - 19.12.2010
Umh,i talk by my past previous experience.
The PayNSpray is an interior so u much use the OnPlayerInteriorChange(playerid,newinteriorid,oldi nteriorid)
Sorry but im not 100% secure of what i say.
I think u must use a custom paynspray (IDK if it's possible) and disable all the default paynspray's.
Re: vehicle health anticheat bug help -
WillyP - 19.12.2010
Quote:
Originally Posted by Logitech90
Umh,i talk by my past previous experience.
The PayNSpray is an interior so u much use the OnPlayerInteriorChange(playerid,newinteriorid,oldi nteriorid)
Sorry but im not 100% secure of what i say.
I think u must use a custom paynspray (IDK if it's possible) and disable all the default paynspray's.
|
PnS isn't an interior.
Use smth like: OnVehicleRespray
Re: vehicle health anticheat bug help -
Face9000 - 19.12.2010
Quote:
Originally Posted by [FU]Victious
PnS isn't an interior.
Use smth like: OnVehicleRespray
|
Oh,i was wrong soz.
Re: vehicle health anticheat bug help -
The_Gangstas - 19.12.2010
onvehiclerespray is called with mod shops only
lol.
-confirmed its not an interior.
Re: vehicle health anticheat bug help -
Sledge - 19.12.2010
disable paint and spray. add gates, and an icon. /enter to go in, and when they go in, u use a variable to tell the anti-cheat there car is being resprayed.
Re: vehicle health anticheat bug help -
The_Gangstas - 19.12.2010
noo thank you ;\ i've seen crazybob detect this.. if you enter a pay n spray and dont have $100 nothing will happen and will send you a textdraw saying that you need $100. beta testers know everything ):
edit- i just went on there. he detects if a player uses it to then sets there vehicle health to 996 S:
i just need to detect if they used one