08.12.2010, 10:59
(
Last edited by Killa[DGZ]; 08/12/2010 at 11:14 AM.
)
Quote:
AFAIK if you use ClearAnimations it will stop you from entering, but other players will still see you enter. Well this was the case in 0.3a and before but I don't think it was ever fixed.
|
its not perfect but it seems my best solution atm.
Code:
} //------------------------------------------------------------------------------------------------------ public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if (GetPlayerSurfingVehicleID(playerid) == vehicleid) { ClearAnimations(playerid); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly, slz+0.1);//good results with this }