Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCNPCs can't drive trailers #303

Open
Naseband opened this issue Oct 23, 2023 · 0 comments
Open

FCNPCs can't drive trailers #303

Naseband opened this issue Oct 23, 2023 · 0 comments

Comments

@Naseband
Copy link

Naseband commented Oct 23, 2023

The plugin will refuse to seat NPCs into trailers (seat 0), although they are drivable. For example Model 607 (the luggage trailer) works fine for players and default NPCs, but they are marked as undrivable in the array data for FCNPC (the correct amount of seats for all trailers would be 1).

Instead, the plugin should check in FCNPC_ExitVehicle whether the NPC's current vehicle is a trailer and prevent the exit animations (use ClearAnimations to exit them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant