I was reimplementing slide but a problem occurred. The iscrouching parameter is always false.
SqCore.On().PlayerCrouching.Connect(function (player, iscrouching)
{
print(iscrouching);
});
[USR] false
Luckily I can use player.Crouched for now.
This is most-likely not a plugin bug, but rather a server bug. All I'm doing is forwarding whatever the server sends (https://github.com/iSLC/VCMP-SqMod/blob/b3cdc101a48e79cc8fd4c02b5f273d57a817f1ae/source/Main.cpp#L537). Therefore, the server is the one that always sends the value `false`.