teleport problem
#4

This

Код:
CMD:rm(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid))
	{
		SetPlayerPos(playerid, -4411.3794,4207.3994,187.6803);
		SetPlayerFacingAngle(playerid, 0);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
		SetCameraBehindPlayer(playerid);
	}
	else
	{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, -4411.3794,4207.3994,187.6803);
		SetVehicleZAngle(veh, 0);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		PutPlayerInVehicle(playerid, veh, 0);
		SetCameraBehindPlayer(playerid);
        }
}
Reply


Messages In This Thread
teleport problem - by kbalor - 19.10.2013, 17:56
Re: teleport problem - by ]Rafaellos[ - 19.10.2013, 18:02
Re: teleport problem - by -Prodigy- - 19.10.2013, 18:02
Re: teleport problem - by kbalor - 19.10.2013, 18:08
Re: teleport problem - by ]Rafaellos[ - 19.10.2013, 18:10
Re: teleport problem - by kbalor - 19.10.2013, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)