Run into a Wall..
#10

Quote:
Originally Posted by SuperS82
Most likely in OnPlayerStateChange. Not too sure, I've never used IsPlayerInRangeOfPoint.
Try this:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(newstate == PLAYER_STATE_ONFOOT)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 5.0, WALL COORD X, WALL COORD Y, WALL COORD Z))
		{
		  SetPlayerPos(playerid,TELEPORT X,TELEPORT Y,TELEPORT Z);
		}
It Does Not Work

Let me know if it works for ya
Reply


Messages In This Thread
Run into a Wall.. - by TheNotorius - 16.01.2010, 00:11
Re: Run into a Wall.. - by Fedee! - 16.01.2010, 00:16
Re: Run into a Wall.. - by [HiC]TheKiller - 16.01.2010, 01:20
Re: Run into a Wall.. - by SuperS82 - 16.01.2010, 05:50
Re: Run into a Wall.. - by V1ceC1ty - 16.01.2010, 05:59
Re: Run into a Wall.. - by TheNotorius - 16.01.2010, 06:06
Re: Run into a Wall.. - by jameskmonger - 16.01.2010, 06:10
Re: Run into a Wall.. - by TheNotorius - 16.01.2010, 06:12
Re: Run into a Wall.. - by SuperS82 - 16.01.2010, 06:39
Re: Run into a Wall.. - by TheNotorius - 17.01.2010, 07:14

Forum Jump:


Users browsing this thread: 1 Guest(s)