Car Lock Bug? [0.3c R2-2, R3]
#5

Quote:
Originally Posted by BeckzyBoi
View Post
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.
yes that is true, so after lots of testing and mucking about i came up with this.
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
    }
Reply


Messages In This Thread
Car Lock Bug? [0.3c R2-2, R3] - by Killa[DGZ] - 07.12.2010, 14:58
Re: Car Lock Bug? [0.3c R2-2, R3] - by Macluawn - 07.12.2010, 15:11
Re: Car Lock Bug? [0.3c R2-2, R3] - by Killa[DGZ] - 07.12.2010, 15:41
Re: Car Lock Bug? [0.3c R2-2, R3] - by BeckzyBoi - 07.12.2010, 16:11
Re: Car Lock Bug? [0.3c R2-2, R3] - by Killa[DGZ] - 08.12.2010, 10:59
Re: Car Lock Bug? [0.3c R2-2, R3] - by GaGlets(R) - 08.12.2010, 12:29
Re: Car Lock Bug? [0.3c R2-2, R3] - by The_Moddler - 08.12.2010, 12:35
Re: Car Lock Bug? [0.3c R2-2, R3] - by Killa[DGZ] - 08.12.2010, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)