• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Car jack/stealing detector.
#4
(2021-07-22, 01:58 PM)daddy. Wrote: There already is 'IsVehicleOccupied' native in YSF, use that one.
https://github.com/IllidanS4/YSF
...which does the exact same thing with even more checks checks if player is either driver or passenger so they would need a extra check there :)

EDIT: But for some odd reason, YSF also has HasVehicleBeenOccupied which is much more efficient check as it does not run loops, wtf Illidan XD
EDIT 2: This actually might not work, wtf xD
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Messages In This Thread
Car jack/stealing detector. - by Ambarita - 2021-07-20, 12:10 AM
RE: Car jack/stealing detector. - by Next - 2021-07-20, 01:39 AM
RE: Car jack/stealing detector. - by daddy. - 2021-07-22, 01:58 PM
RE: Car jack/stealing detector. - by Pinch - 2021-07-22, 09:13 PM
RE: Car jack/stealing detector. - by daddy. - 2021-07-23, 09:19 PM

Forum Jump: