joined with ip problem
#1

Код:
	for(new i=0;i<MAX_PLAYERS;i++)
	{
	  if(!IsPlayerAdmin(playerid)) return

	  new h_name[MAX_PLAYER_NAME], str[100], ping[25];
	  GetPlayerName(playerid, h_name,sizeof (h_name));
	  GetPlayerIp(playerid, ping,sizeof (ping));
	  format(str,sizeof (str),"%s has joined server(%s)",h_name, ping);
	  SCM(i, 0x808080AA, str);
	 }
PHP код:
C:\Users\John\Desktop\Server\gamemodes\FristGM.pwn(203) : error 029invalid expressionassumed zero
C
:\Users\John\Desktop\Server\gamemodes\FristGM.pwn(203) : error 017undefined symbol "h_name"
C:\Users\John\Desktop\Server\gamemodes\FristGM.pwn(203) : warning 215expression has no effect
C
:\Users\John\Desktop\Server\gamemodes\FristGM.pwn(203) : error 001expected token";"but found "]"
C:\Users\John\Desktop\Server\gamemodes\FristGM.pwn(203) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply


Messages In This Thread
joined with ip problem - by Another1 - 18.10.2013, 10:57
Re: joined with ip problem - by Threshold - 18.10.2013, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)