[HELP]undefined symbol "IsPlayerInRangeOfPoint" - 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: [HELP]undefined symbol "IsPlayerInRangeOfPoint" (
/showthread.php?tid=180409)
[HELP]undefined symbol "IsPlayerInRangeOfPoint" -
bboytimix - 01.10.2010
why i have error whil i typing "IsPlayerInRangeOfPoint"
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if( (newkeys & KEY_FIRE) )
{
if(IsPlayerInRangeOfPoint(p,5,pos[0],pos[1],pos[2]))
{
SetPlayerHealth(playerid,-1);
}
}
return 1;
}
errors:
Quote:
pwn(533) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
|
Re: [HELP]undefined symbol "IsPlayerInRangeOfPoint" -
[XST]O_x - 01.10.2010
What is 'p'?
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,5,pos[0],pos[1],pos[2]))
And maybe you don't have #include <a_samp> at the top of your script?
Re: [HELP]undefined symbol "IsPlayerInRangeOfPoint" -
bboytimix - 01.10.2010
dude i have #include <a_samp>
Re: [HELP]undefined symbol "IsPlayerInRangeOfPoint" -
Mauzen - 01.10.2010
Do not create multiple threads for one simple question...
Probably you use old includes, redownload 0.3 and overwrite your pawno/includes folder
Re: [HELP]undefined symbol "IsPlayerInRangeOfPoint" -
Fj0rtizFredde - 01.10.2010
Re-download the latest includes