02.12.2013, 21:56
(
Last edited by Ada32; 18/01/2014 at 10:00 AM.
)
EDIT: Nice script you have here, but I have a question. Firstly, what if I jack the player and then get out and shoot them to death? Won't that be detected as ninja jack? |
EDIT: Nice script you have here, but I have a question. Firstly, what if I jack the player and then get out and shoot them to death? Won't that be detected as ninja jack?
|
Originally Posted by cessil
yes I believe so, also jacking a player, getting out the car, getting into a tank and then running them over would also detect it as ninja jacking
|
it says people can do the ninja jack without actually entering the car so OnPlayerStateChange is never called and it'd also stop your script by accessing an invalid index here:
LastAttemptedJack[jacker] |
it would because invalid player id is 0xFFFF (65535) so unless your array size is 0xFFFF + 1 then it will stop the script there, for the ninja jacking without entering the car you just cancel the entering of the car and sometimes it'll appear to enter the car on the drivers client and kills them
|