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
I just tried recording NPC driving truck with trailer, and when i try to play it, trailer always gets detached as soon as NPC moves (actually recording starts). Note im using FCNPC_StartPlayingPlayback, and i also tried attaching trailer before, and after playback, and even delaying playback start after attaching trailer.
Ok, after some research into issue, here are my two cents. First, recording and playback is done by samp server (or should i say samp-npc). Since NPC's are just players, and recordings are literally sync packets saved into a file my guess is that trailer id has to be same as when recorded.
That thing to side, FCNPC does not support trailer sync at all (i have not seen it in code besides inside vehicle sync packet but thats it, its not set anywhere and its not read anywhere as far as i can tell).
The text was updated successfully, but these errors were encountered:
I just tried recording NPC driving truck with trailer, and when i try to play it, trailer always gets detached as soon as NPC moves (actually recording starts). Note im using FCNPC_StartPlayingPlayback, and i also tried attaching trailer before, and after playback, and even delaying playback start after attaching trailer.
Ok, after some research into issue, here are my two cents. First, recording and playback is done by samp server (or should i say samp-npc). Since NPC's are just players, and recordings are literally sync packets saved into a file my guess is that trailer id has to be same as when recorded.
That thing to side, FCNPC does not support trailer sync at all (i have not seen it in code besides inside vehicle sync packet but thats it, its not set anywhere and its not read anywhere as far as i can tell).
The text was updated successfully, but these errors were encountered: