Help with TP! [SetPlayerPos]
#1

Ok, ive not been scripting for very long so im not a pro.
This went throught the compiler but when i go ingame my game crashes over and over again.
Heres the code of the public CheckForWalkingTeleport(playerid)
Код:
	else if (PlayerToPointStripped(1, playerid,1422.4493,-1179.3345,25.9922, cx,cy,cz))
	{
		//Heli Taxi
		SetPlayerPos(playerid, 1388.9174,-1220.6992,202.4453);
		GameTextForPlayer(playerid, "~b~SkyCab Helitaxi, roof",5000,1);
		SetPlayerInterior(playerid,0);
		SetPlayerFacingAngle(playerid, 0);
		PlayerInfo[playerid][pInt] = 0;
	}
Also for the AddStaticPickup
Код:
AddStaticPickup(1239, 2, 1422.4493,-1179.3345,25.9922); //HeliTaxi Entrance
Im using a recoded LARP (Los Angeles RP)
Thanks.

//Joel
Reply


Messages In This Thread
Help with TP! [SetPlayerPos] - by Joel_Krantz - 04.04.2009, 07:43
Re: Help with TP! [SetPlayerPos] - by Antironix - 04.04.2009, 07:49
Re: Help with TP! [SetPlayerPos] - by Joel_Krantz - 04.04.2009, 07:54
Re: Help with TP! [SetPlayerPos] - by Antironix - 04.04.2009, 08:15
Re: Help with TP! [SetPlayerPos] - by Joel_Krantz - 04.04.2009, 08:23
Re: Help with TP! [SetPlayerPos] - by Antironix - 04.04.2009, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)