Teleport Only Me And Not The Car
#9

Код:
if(strcmp(cmdtext, "/bmx1", true) == 0)
{
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
		RemovePlayerFromVehicle(playerid); // or delete this line if dont works
		SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
		SetPlayerPos(playerid, 1964.5905,1923.5120,130.9375);
	}else{
		SetPlayerPos(playerid, 1964.5905,1923.5120,130.9375);
	}
	GameTextForPlayer(playerid, ".:::::BMX 1:::::.",1500,5);
	SendClientMessage(playerid, COLOR_YELLOW, "TELEPORTED TO /BMX1 .");
	TogglePlayerControllable(playerid, 1);
	SetPlayerInterior(playerid, 0);
	ResetPlayerWeapons(playerid);
	return 1;
}
Reply


Messages In This Thread
Teleport Only Me And Not The Car - by Smiths - 16.08.2009, 16:04
Re: Teleport Only Me And Not The Car - by XtremeChio - 16.08.2009, 16:12
Re: Teleport Only Me And Not The Car - by Luca Dimonte - 16.08.2009, 16:16
Re: Teleport Only Me And Not The Car - by Smiths - 16.08.2009, 17:16
Re: Teleport Only Me And Not The Car - by XtremeChio - 16.08.2009, 17:18
Re: Teleport Only Me And Not The Car - by Smiths - 16.08.2009, 17:25
Re: Teleport Only Me And Not The Car - by XtremeChio - 16.08.2009, 17:47
Re: Teleport Only Me And Not The Car - by Smiths - 16.08.2009, 17:48
Re: Teleport Only Me And Not The Car - by Jefff - 16.08.2009, 17:53
Re: Teleport Only Me And Not The Car - by Jakku - 16.08.2009, 18:48

Forum Jump:


Users browsing this thread: 2 Guest(s)