[HELP]My Scripting is working :P need help
#1

whats wrong with this please help

Код:
public IsInBank(playerid)
{
  if(IsPlayerConnected(playerid))
	{
		if(PlayerToPoint(100.0,playerid,2308.4290,-15.8983,26.7496))	{ // 1st LS Bank
		   return 1;
		}
	}
	return 0;
}
Reply
#2

Use IsPlayerInRangeOfPoint():
pawn Код:
public IsInBank(playerid)
{
  return IsPlayerInRangeOfPoint(playerid, 100.0, 2308.4290, -15.8983, 26.7496);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)