Vehicle teleport help
#1

I need some help with getting the players who are at the
Код:
 if(VehicleToPoint(1.0,playerid,1818.0632,-1536.7803,13.3585))
to get to the other point with writing /penter
The only error is when i compile it says its a undefined symbol
Код:
 	if(strcmp(cmd, "/penter", true) == 0 || strcmp(cmd, "/patun", true) == 0)
 	{
	  if(PlayerInfo[playerid][pJob] == 7)
		{
		  if(GetPlayerState(playerid) == 1)
		  {
		      if(VehicleToPoint(1.0,playerid,1818.0632,-1536.7803,13.3585))
		      {
					  SetVehiclePos(GetPlayerVehicleID(playerid), 1826.6522,-1538.7426,13.5469);
		      	SetPlayerPos(playerid, 1826.6522,-1538.7426,13.5469);
					}
		    }
		  }
		return 1;
 	}
C:\Users\GuSo\Desktop\test.pwn(23750) : error 017: undefined symbol "VehicleToPoint"
Could anybody fix the command ?
Reply


Messages In This Thread
Vehicle teleport help - by Guso - 25.12.2009, 18:30
Re: Vehicle teleport help - by DeathOnaStick - 25.12.2009, 18:31
Re: Vehicle teleport help - by Guso - 25.12.2009, 18:32
Re: Vehicle teleport help - by DeathOnaStick - 25.12.2009, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)