Wierd error?
#1


And i get these errors how to fix?


Код:
C:\DOCUME~1\!nsane\Desktop\SAMPDR~1\GAMEMO~1\deathrun.pwn(109) : error 017: undefined symbol "PlayerToPoint"
C:\DOCUME~1\!nsane\Desktop\SAMPDR~1\GAMEMO~1\deathrun.pwn(110) : error 029: invalid expression, assumed zero
C:\DOCUME~1\!nsane\Desktop\SAMPDR~1\GAMEMO~1\deathrun.pwn(115) : error 010: invalid function or declaration
C:\DOCUME~1\!nsane\Desktop\SAMPDR~1\GAMEMO~1\deathrun.pwn(277) : warning 203: symbol is never used: "Trap1"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

3 Errors.
Код:
public OnPlayerSpawn(playerid)
{
  if(PlayerToPoint(5,playerid,124.7041,-74.8827,1.5781))
  }
  SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  	return 1;
	}
	
	return 1;
}
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
  if(IsPlayerInRangeOfPoint(playerid, 5.0, 124.7041, -74.8827, 1.5781))
  {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
  }
  return 1;
}
And remove "Trap1" variable as you are not using it.
Reply
#3

Thanks got working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)