"PlayerToPoint"Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: "PlayerToPoint"Help (
/showthread.php?tid=154949)
"PlayerToPoint"Help -
Zero[S] - 16.06.2010
Код:
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
Re: "PlayerToPoint"Help -
DJDhan - 16.06.2010
That's probably a missing bracket somwhere near line 1772. If you want help, you can post some code near it.
Re: "PlayerToPoint"Help -
Zero[S] - 16.06.2010
Код:
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;
}
Re: "PlayerToPoint"Help -
Zero[S] - 16.06.2010
or
Код:
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
Re: "PlayerToPoint"Help -
Zero[S] - 16.06.2010
helpplizzzz
Re: "PlayerToPoint"Help -
Cameltoe - 16.06.2010
Post the gm at pastebin and let's see if we can see any flaws
Re: "PlayerToPoint"Help -
Vince - 16.06.2010
You might consider using
IsPlayerInRangeOfPoint instead. It's a native function.