Protection from carjack with hack(sob)? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Protection from carjack with hack(sob)? (
/showthread.php?tid=554609)
Protection from carjack with hack(sob)? -
bobsona - 04.01.2015
Hello!
In my server each player have personal car in which only he can enter.
But with hack(sob) other players can enter in this personal car.
Without hack(sob) you can't enter other's car, but with hack(sob) they do it.
Any protection for that?
Any method to disable carjacking with hack(sob)?
Sorry for my English, I hope you understand me!
Re: Protection from carjack with hack(sob)? -
Threshold - 04.01.2015
Use OnPlayerStateChange, not OnPlayerEnterVehicle.
Re: Protection from carjack with hack(sob)? -
bobsona - 04.01.2015
You mean to check if this car is yours with OnPlayerStateChange?
I usually do this check with OnPlayerEnterVehicle
Re: Protection from carjack with hack(sob)? -
bobsona - 04.01.2015
Thank you very much! It works! +1 rep