Yet again, I'm having trouble. This time I'm genuinely stuck.
I've been looking everywhere but I can't seem to find a directive for a condition. Is there any way for a cleo to judge if a player is driving a car or if it's a passenger?
I thought I'd be able to patch this with the Actor.OnVehicle directive, but when compiling it returns an unknown directive error.
Also, I'd love to know if there's any way I can check for a specific SA:MP vehicle ID.
Thanks in advance!
I've been looking everywhere but I can't seem to find a directive for a condition. Is there any way for a cleo to judge if a player is driving a car or if it's a passenger?
I thought I'd be able to patch this with the Actor.OnVehicle directive, but when compiling it returns an unknown directive error.
Code:
[...]
:code
wait 0
if or
Actor.Driving($PLAYER_ACTOR)
Actor.OnVehicle($PLAYER_ACTOR)
[...]
Also, I'd love to know if there's any way I can check for a specific SA:MP vehicle ID.
Thanks in advance!