Error 004 -
#1

I recive that error:
Код HTML:
forward SendFactionMessage(faction, color, string[]);
I own that code:
Код HTML:
error 004: function "SendFactionMessage" is not implemented
Script:
Код HTML:
CMD:invite(playerid, params[])
{
	new
	pID;

	if(sscanf(params, "ud", pID)) return SendClientMessage(playerid, COLOR_GREY, "[Usage:] /invite [playerid/partofname]");
 	if(!IsPlayerConnected(pID)) return SCM(playerid, COLOR_LIGHTRED,"That player is not connected.");
 	if(PlayerInfo[playerid][fRank] > 2)
 	{
 	    new string[128];
 	    new faction = PlayerInfo[playerid][pFaction];
		format(string, sizeof(string), "You have been invited to join %s. (/acceptinvite)", FactionInfo[faction][fName]);
		SendClientMessage(pID, COLOR_FACTIONCHAT, string);
		format(string, sizeof(string), "You have sent an invitation to %s.", GetName(pID));
		SendClientMessage(playerid, COLOR_FACTIONCHAT, string);
		factionInvited[pID] = true;
		Player_Invited[pID] = playerid;
	}
	return 1;
}
Reply


Messages In This Thread
Error 004 - - by VixxeN - 22.02.2017, 14:18
Re: Error 004 - - by Unte99 - 22.02.2017, 14:31
Re: Error 004 - - by VixxeN - 22.02.2017, 14:37
Re: Error 004 - - by VixxeN - 22.02.2017, 15:58
Re: Error 004 - - by Dayrion - 22.02.2017, 16:12
Re: Error 004 - - by VixxeN - 22.02.2017, 16:14
Re: Error 004 - - by Unte99 - 22.02.2017, 16:24
Re: Error 004 - - by VixxeN - 22.02.2017, 16:28
Re: Error 004 - - by Unte99 - 22.02.2017, 16:41
Re: Error 004 - - by VixxeN - 22.02.2017, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)