HELP !
#1

Код:
dcmd_kickall(playerid,params[]) {
#pragma unused params
	if(PlayerData[playerid][Level] == 4 || IsPlayerAdmin(playerid))
	{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	new ownername[MAX_PLAYER_NAME],string[76];
	GetPlayerName(playerid,ownername,sizeof(ownername));
	format(string,sizeof(string),"[ SERVER ] You all have been kicked by server owner %s !",ownername);
	SendClientMessageToAll(COLOUR_CRIMSON,string);
	Kick(i);
	}
  }
	return 1;
}
Is there any way to prevent the playerid to get kicked ?
Reply


Messages In This Thread
HELP ! - by The_Tough - 02.09.2009, 18:48
Re: HELP ! - by Correlli - 02.09.2009, 18:49
Re: HELP ! - by The_Tough - 02.09.2009, 18:51
Re: HELP ! - by Correlli - 02.09.2009, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)