help with pos teles
#7

This will teleport you, if you are in a vehicle or not...
Код:
	if(strcmp(cmd, "/tankdm", true) == 0)
	{
		if (GetPlayerState(playerid) == 2)
		{
			new tmpcar = GetPlayerVehicleID(playerid);
			SetVehiclePos(tmpcar, 2320.4558,568.2838,7.7802);
		}
		else
		{
			SetPlayerPos(playerid, 2320.4558,568.2838,7.7802);
		}
		SendClientMessage(playerid, COLOR_GRAD1, "  You have been teleported !");
		SetPlayerInterior(playerid,0);
		return 1;
	}
Reply


Messages In This Thread
help with pos teles - by billyho - 19.03.2009, 10:46
Re: help with pos teles - by MenaceX^ - 19.03.2009, 10:52
Re: help with pos teles - by 56avenue - 19.03.2009, 10:52
Re: help with pos teles - by billyho - 19.03.2009, 12:03
Re: help with pos teles - by mascii - 19.03.2009, 12:20
Re: help with pos teles - by billyho - 19.03.2009, 20:14
Re: help with pos teles - by Jack_Fox - 19.03.2009, 23:01
Re: help with pos teles - by Egypt1123 - 23.09.2009, 07:41
Re: help with pos teles - by virspector - 23.09.2009, 10:27

Forum Jump:


Users browsing this thread: 5 Guest(s)