open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

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

Open LESS14 opened this issue 1 year ago • 2 comments

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

LESS14 avatar Apr 13 '24 04:04 LESS14

Are you using the open.mp includes?

Y-Less avatar Apr 28 '24 18:04 Y-Less

Are you using the open.mp includes?

Yes.

LESS14 avatar Apr 28 '24 18:04 LESS14

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.

LESS14 avatar May 23 '24 19:05 LESS14

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

Hual avatar May 24 '24 16:05 Hual