SA-MP Forums Archive
error 004: function not implemented - 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)
+--- Thread: error 004: function not implemented (/showthread.php?tid=452865)



error 004: function not implemented - DanishHaq - 22.07.2013

Hello again, so I am trying to compile my script. For every single function that I have forwarded and that I have publicized, I get errors for every single one saying it's not implemented, even though it is.

I'll give you an example:

Код:
forward SetPlayerToTeamColor(playerid); // here is the forward
Код:
public SetPlayerToTeamColor(playerid) // here is the public
{
	if(IsPlayerConnected(playerid))
	{
	    SetPlayerColor(playerid,TEAM_HIT_COLOR);
	}
}
Код:
SetPlayerToTeamColor(i); // I have used this in the script at many places
And then behold, the error:

Quote:

error 004: function "SetPlayerToTeamColor" is not implemented

I'd appreciate any help, and I'll give a +1 reputation point to the person who fixes the problem .


Re: error 004: function not implemented - DanishHaq - 22.07.2013

Fixed, I was missing some brackets..