(2021-07-22, 01:58 PM)daddy. Wrote: There already is 'IsVehicleOccupied' native in YSF, use that one....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 :)
https://github.com/IllidanS4/YSF
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.
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.