You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where 3rd integer is seat id and last id time to wait, but even i put correct seat id still crashes.
I tried reverse argument position, same happen, crash.
Basically before crash i can see CJ attempting to enter in car, but him disappear after sit then game crashes.
Idk if this is right place for help, but i'm thankful any means.
The code WARP_CHAR_INTO_CAR_AS_PASSENGER scplayer vehicle 0 to teleport direct player into car works.
I'm checking everything if car and driver exists, if player is not dead, and if someone is in seat (any mean if seat id is occupied game itself eject other ped), but TASK_ENTER_CAR_AS_PASSENGER still not working.
My full script code (tested and everything working except that i'm forced to teleport player into car)
I'm trying to make CJ enter in a car without teleport (wrap) him inside the car, but this function
TASK_ENTER_CAR_AS_PASSENGER scplayer vehicle 0 20000
is always crashing.In
commands.xml
display:Where 3rd integer is seat id and last id time to wait, but even i put correct seat id still crashes.
I tried reverse argument position, same happen, crash.
Basically before crash i can see CJ attempting to enter in car, but him disappear after sit then game crashes.
Idk if this is right place for help, but i'm thankful any means.
The code
WARP_CHAR_INTO_CAR_AS_PASSENGER scplayer vehicle 0
to teleport direct player into car works.I'm checking everything if car and driver exists, if player is not dead, and if someone is in seat (any mean if seat id is occupied game itself eject other ped), but
TASK_ENTER_CAR_AS_PASSENGER
still not working.My full script code (tested and everything working except that i'm forced to teleport player into car)
The text was updated successfully, but these errors were encountered: