[CODING-LUA] Enter car problem

Joined
Jun 3, 2019
Messages
1
Likes
0
Points
1
1
#1
So heres the code :

taskEnterCarAsDriver(PLAYER_PED,car,10000)
local currentCar = getCarCharIsUsing(PLAYER_PED)
local carid = sampGetVehicleIdByCarHandle(currentCar)
sampSendEnterVehicle(carid,false)

So, it normally works, (enters on the car and all)
but the server still kinda of not detecting it, like as if i dint entered it, its a RP server so i need to do a command to turn the car on, but it wont work as the server dont see to detect me inside the vehicle.

i also tryed:
sampForceVehicleSync(carid)
but dint work
 
Top