SA-MP Forums Archive
What is wrong? - 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: What is wrong? (/showthread.php?tid=223520)



What is wrong? - I_Am_Hero - 09.02.2011

if(IsPlayerInRangeOfPoint(i, CPinfo[j][Viewdist], CPinfo[j][CPX], CPinfo[j][CPY], CPinfo[j][CPZ]) && CPActive[i][j] == 1)
C:\Users\Administrator\Desktop\SA-MP Server\filterscripts\Tested.pwn(63) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
This is a error what i get what is wrong?


Re: What is wrong? - berz - 09.02.2011

Try to add #define IsPlayerInRangeOfPoint

Maybe it will work, but im not sure


Re: What is wrong? - I_Am_Hero - 09.02.2011

Works thanks


Re: What is wrong? - berz - 09.02.2011

Quote:
Originally Posted by I_Am_Hero
Посмотреть сообщение
Works thanks
No problemo


Re: What is wrong? - alpha500delta - 09.02.2011

Fail. Big fail, that will not work. You CANNOT do #define IsPlayerInRangeOfPoint
Because it doesnt hold positions. Read this instead


Re: What is wrong? - Mean - 09.02.2011

If you #define IsPlayerInRangeOfPoint, you did an EPIC fail. It will be no errors, but it will do ABSOULUTELY NOTHING!
Download the NEWEST includes for 0.3c!