"PlayerToPoint"Help
#1

Код:
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1772) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1776) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1788) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1792) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1796) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1800) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1804) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1808) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1812) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1824) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1828) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1832) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1836) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1840) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1852) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1856) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1860) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1872) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1876) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(3924) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4181) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4794) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4885) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(5507) : error 004: function "IsABike" is not implemented
help
Reply
#2

That's probably a missing bracket somwhere near line 1772. If you want help, you can post some code near it.
Reply
#3

Код:
public IsAtClothShop(playerid)
{
  if(IsPlayerConnected(playerid))
	{
    if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
		{//Binco & Suburban
		  return 1;
		}
		else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
		{//Zip & Victim
		  return 1;
		}
	}
	return 0;
}
Reply
#4

or

Код:
 if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
Reply
#5

helpplizzzz
Reply
#6

Post the gm at pastebin and let's see if we can see any flaws
Reply
#7

You might consider using IsPlayerInRangeOfPoint instead. It's a native function.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)