04.04.2009, 07:43
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)
Also for the AddStaticPickup
Im using a recoded LARP (Los Angeles RP)
Thanks.
//Joel
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;
}
Код:
AddStaticPickup(1239, 2, 1422.4493,-1179.3345,25.9922); //HeliTaxi Entrance
Thanks.
//Joel

