21.01.2019, 21:30
(
Last edited by dotSILENT; 21/01/2019 at 10:03 PM.
)
That's caused by sampgdk, although I don't know why would it happen with CallRemoteFunction. I just tested it and called a remote function from the filterscript and nothing happened. Only index mismatches I'm getting are for OnPlayerStatsAndWeaponUpdate coming from YSF, probably because I'm using some older version.
I'm not that experienced with sampgdk, but does it happen for every CallRemoteFunction you do, or just these 2?
One thing I noticed is that the indexes are off by just one.
As for the issue with loading the plugins, I'd like to know the list of plugins you are loading. There must be some that conflict with this one, I have no problem with loading it in any place despite using YSF, streamer and a few others.
Update:
That earlier problem with SAMP+ plugin causing CHandling to stop working is caused entirely by SAMP+, I think it's using a very old version of sampgdk which messes up the natives when loaded before other plugins. And since CHandling uses IsValidVehicle() native, it returns false and GetVehicleHandling* thinks the vehicle doesn't exist. It also messed up the streamer plugin, objects attached to vehicles stopped working.
I'm not that experienced with sampgdk, but does it happen for every CallRemoteFunction you do, or just these 2?
One thing I noticed is that the indexes are off by just one.
As for the issue with loading the plugins, I'd like to know the list of plugins you are loading. There must be some that conflict with this one, I have no problem with loading it in any place despite using YSF, streamer and a few others.
Update:
That earlier problem with SAMP+ plugin causing CHandling to stop working is caused entirely by SAMP+, I think it's using a very old version of sampgdk which messes up the natives when loaded before other plugins. And since CHandling uses IsValidVehicle() native, it returns false and GetVehicleHandling* thinks the vehicle doesn't exist. It also messed up the streamer plugin, objects attached to vehicles stopped working.