error 004: function not implemented
#1

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

Fixed, I was missing some brackets..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)