openmultiplayer / open.mp

Open Multiplayer, a multiplayer mod fully backwards compatible with SA-MP
https://open.mp
Mozilla Public License 2.0
453 stars 92 forks source link

"Warning 202: The number of arguments does not match the definition" when trying to use the "force" parameter on the RemovePlayerFromVehicle function #914

Closed LESS14 closed 4 months ago

LESS14 commented 5 months ago

Describe the bug "Warning 202: The number of arguments does not match the definition" when trying to use the "force" parameter on the RemovePlayerFromVehicle function

To Reproduce Steps to reproduce the behavior:

  1. Try to use the "force" parameter
  2. Compile it
  3. And see the warning

Expected behavior To properly enable/disable the animation when removing a player from a vehicle without any warnings.

Release version v1.2.0.2670

Y-Less commented 5 months ago

Are you using the open.mp includes?

LESS14 commented 5 months ago

Are you using the open.mp includes?

Yes.

LESS14 commented 4 months ago

I'm sorry for the delay. It turns out the issue wasn't related to open.mp at all, the problem was a Nex-AC hook. Anyhow, thanks for the help, and I'm sorry for the commotion.

Hual commented 4 months ago

I'm sorry for the delay. It turns out the issue wasn't related to open.mp at all, the problem was a Nex-AC hook. Anyhow, thanks for the help, and I'm sorry for the commotion.

If you want full compatibility with samp includes you should stick with the samp stdlib