Please help. i wanna know how to get the id of the lastest vehicle that player sit in. when player is on-foot
What are you trying to do with the last vehicle?
have permission to lock/unlock them
GET_VEHICLE_PED_IS_IN(Any p0, Any p1)
GetVehiclePedIsIn (GetPlayerPed (-1), true)
I thinks that’s what it is.
Where it says true I think that’s a boolean for getPlayerLastVehicle - true or false
Is this work only when player [On] vehicle?
Should work if the player sits in a vehicle and gets out yes.
Okay i’ll try ty sir :D;