SA-MP Forums Archive
IsPlayerInRangeOfPoint- unfined symbol - 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: IsPlayerInRangeOfPoint- unfined symbol (/showthread.php?tid=180408)



IsPlayerInRangeOfPoint- unfined symbol - bboytimix - 01.10.2010

why i have errors whil i type this

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( (newkeys & KEY_FIRE) )
{
if(IsPlayerInRangeOfPoint(p,5,pos[0],pos[1],pos[2]))
{
SetPlayerHealth(playerid,-1);
}
}
return 1;
}

error:
Quote:

pwn(533) : error 017: undefined symbol "IsPlayerInRangeOfPoint"