sa-mp-fixes
sa-mp-fixes copied to clipboard
PutPlayerInVehicle when special action != none
http://wiki.sa-mp.com/wiki/Bugs:
- If the player has a special action, he will be instantly removed from the vehicle and the special action will be stopped.
Possible fix: call SetPlayerSpecialAction( SPECIAL_ACTION_NONE )
(don't forget about the SPECIAL_ACTION_JETPACK
fix of calling ClearAnimations
) before PutPlayerInVehicle
, if GetPlayerSpecialAction( playerid ) != SPECIAL_ACTION_NONE
. It may need a delay too,
No need to remember other fixes, just put the new one after the old fix, and it will be applied anyway.
Forgot about this one, it is another well-known ancient bug:
http://wiki.sa-mp.com/wiki/Bugs:
If the player has the parachute open and he is put in a vehicle in the same area, he will still have the parachute attached and the sitting position bugged. If he is put in a vehicle in another area, he will be instantly removed from the vehicle.
Should probably clear animations before being put in a vehicle, if he has that parachute animation.
These two issues are similar and that's why I didn't create another issue for this one.