help with warning please?
#1

warning 235: public function lacks forward declaration (symbol "OnPlayerTeamPrivmsg")

Код:
public OnPlayerTeamPrivmsg(playerid, msg[])
{
  new string[256], name[24];
  GetPlayerName(playerid, name, 24);

  format(string, sizeof(string),"*** [TPM] %s(%d): %s", name, playerid, msg);
  for (new k = 0; k < SLOTS; k ++) {
		if (IsPlayerConnected(k)) {
		  if (IsPlayerAdmin( k )) {
		    if (ShowTPM[ k ] != 0) {
			    if (k != playerid && gTeam[ playerid ] != gTeam[ k ]) {
		        SendClientMessage( k, COLOR_TPM, string );
		      }
		    }
	    }
		}
  }
  return 1;
}
The top line being the line with the warning ,any ideas?
Reply


Messages In This Thread
help with warning please? - by Mr_Finnigan - 11.06.2009, 14:35
Re: help with warning please? - by JoeDaDude - 11.06.2009, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)