GetVehiclePedIsIn returning 0 server-side

Code used

print('insidevehicle', self.id, GetVehiclePedIsIn(self.id, false))

executed while in a car

What I get

image

This was working on previous FX versions.

I’m using OneSync infinity
image

Resource used for this:

The error is at server/ped.lua