error 004: function "PlayerToPoint" is not implemented - HELP
#1

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
Reply
#2

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.
}
Reply
#3

Okay, so how do I fix the command so I can put it in my script and not get the 004 error?
Reply
#4

Find the code for PlayerToPoint, or use the one included in 0.3a:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)