Whoops my bad, I used it in my script and it didn't work, but there was something else not quite right (thanks to you I started looking). Now it is working though, thank you very much!
Hello all,
In Java I would be able to do something like this:
local result = (vehicle == false or getVehicleOccupant(vehicle, 0) ~= localPlayer)
This would store a boolean value in the result variable. Is there a similar way to do this in Lua? I tried searching the internet but I do not know how it's called and what to search for.
Thanks in advance,