Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
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.
Posts: 3,351
Threads: 780
Joined: Jan 2010
Post your anticheat code.
Posts: 3,351
Threads: 780
Joined: Jan 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.
Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by [FU]Victious
PnS isn't an interior.
Use smth like: OnVehicleRespray
|
Oh,i was wrong soz.
Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
onvehiclerespray is called with mod shops only
lol.
-confirmed its not an interior.
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
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.
Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
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