vehicle health anticheat bug help
#1

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.
Reply
#2

Post your anticheat code.
Reply
#3

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)
Reply
#4

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.
Reply
#5

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
Reply
#6

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
PnS isn't an interior.

Use smth like: OnVehicleRespray
Oh,i was wrong soz.
Reply
#7

onvehiclerespray is called with mod shops only
lol.

-confirmed its not an interior.
Reply
#8

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.
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: