Weird errors problem..
#1

Whenever I try to complie my script I get these errors:

Quote:

C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2106) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2662) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2687) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2777) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2781) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2793) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2797) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2801) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2805) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2809) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2813) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2817) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2829) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2833) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2837) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2841) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2845) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2857) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2861) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2865) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2877) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2889) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2893) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2897) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2901) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Owner\Desktop\New Folder\gamemodes\AllianceRP6[1].pwn(2905) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

I've asked just about everyone I know and they don't know. I didn't do anything major to the script besides change the tutorial on it, when this happended. :S
Reply
#2

Show us your script.
Reply
#3

Can I PM you coop? I don't really want to release it..
Reply
#4

For sure. But you don't have to show the whole script. But ok.
Reply
#5

Paste this function somewhere in your script (preferably at the bottom):

pawn Код:
stock PlayerToPoint(Float:radius, playerid, Float:X, Float:Y, Float:Z)
{
  new Float:oldpos[3], Float:temppos[3];
  GetPlayerPos(playerid, oldpos[0], oldpos[1], oldpos[2]);
  temppos[0] = (oldpos[0] -X);
  temppos[1] = (oldpos[1] -Y);
  temppos[2] = (oldpos[2] -Z);
  if(((temppos[0] < radius) && (temppos[0] > -radius)) && ((temppos[1] < radius) && (temppos[1] > -radius)) && ((temppos[2] < radius) && (temppos[2] > -radius)))
  {
    return true;
  }
  return false;
}
Reply
#6

^ I tried that and I'm still getting the errors.
Reply
#7

I get errors sometimes like that when i forgot to put in a bracket somewhere

Just quickly scan over your script to make sure everythings closed right ^^
Reply
#8

Just went over it now.. I'm pretty sure everything is closed.
Reply
#9

Coop, did you get my PM..?
Reply
#10

Yea, I just had to sleep. ^_^
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)