Skip to content

NPC_PutInVehicle does not visually attach NPC to boat seat #1225

@ManmyDev

Description

@ManmyDev

NPC_PutInVehicle updates logical state correctly:

  • NPC_GetVehicle returns returns the correct boat ID
  • NPC_GetVehicleSeat returns driver

However, the NPC model remains visually on foot and does not attach to the boat seat.

For testing, I manually positioned the NPC on top of the boat using NPC_SetPos, then called NPC_PutInVehicle through a custom command while standing near the boat. After calling it, the NPC briefly disappears and reappears, but still remains visually on foot instead of attaching to the boat seat.

I also tested calling NPC_PutInVehicle automatically after spawn, and the result is the same.

Client used:

  • SA-MP 0.3.7 R1 client

Tested boat models:

  • 595 (Launch)
  • 446 (Squalo)

Tested:

  • localhost and VPS
  • multiple boat models
  • skin set before calling NPC_PutInVehicle
  • delayed call after spawn

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions