error 004: function "PlayerToPoint" is not implemented - 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: error 004: function "PlayerToPoint" is not implemented - HELP (
/showthread.php?tid=139321)
error 004: function "PlayerToPoint" is not implemented - HELP -
CaliforniaRP - 04.04.2010
I have my gamemode working fine up until I try and add this command I just made
The pastebin of the command code is in a link in the bottom
When I add the command to the script I get over 15 error lines of the same kind.
When I remove the command and compile again it works fine.
Could someone please tell me what is wrong with my script and if so correct the code
Thankyou
PASTEBIN:
http://pastebin.com/kAvMfu0j
Re: error 004: function "PlayerToPoint" is not implemented - HELP -
Carlton - 04.04.2010
The warning means that you forwarded a function, and used it but didn't create it. Hard to explain, but here's a example.
pawn Code:
forward Test();
main() {
Test(); // Notice there's no public code.
}
Re: error 004: function "PlayerToPoint" is not implemented - HELP -
CaliforniaRP - 04.04.2010
Okay, so how do I fix the command so I can put it in my script and not get the 004 error?
Re: error 004: function "PlayerToPoint" is not implemented - HELP -
biltong - 04.04.2010
Find the code for PlayerToPoint, or use the one included in 0.3a:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint