/kick command problem (dcmd)
#4

Quote:
Originally Posted by oliverrud
Quote:
Originally Posted by Flashy
What? D;

Iґm so sad that some gyus canґt speak english

What are you talking about? "gyus" right, learn to read english if you don't mind, retard <.<
Its a typo.

Try this:

pawn Код:
dcmd_kick(playerid, params[])
{
  new id, reason;
  if(sscanf(params, "uz", id,reason)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /kick [playerid] [reason]");
  if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid,0xFF0000AA, "Player not found");

  new string[128];
  format(string,256,"Player %d has been kicked, reason: %s",id,reason);
  SendClientMessageToAll(COLOR_YELLOW,string);
  Kick(id);
  return 1;
}
Reply


Messages In This Thread
/kick command problem (dcmd) - by oliverrud - 21.06.2010, 12:28
Re: /kick command problem (dcmd) - by Flashy - 21.06.2010, 12:39
Re: /kick command problem (dcmd) - by oliverrud - 21.06.2010, 12:43
Re: /kick command problem (dcmd) - by NewTorran - 21.06.2010, 12:49
Re: /kick command problem (dcmd) - by oliverrud - 21.06.2010, 12:52
Re: /kick command problem (dcmd) - by Flashy - 21.06.2010, 12:54
Re: /kick command problem (dcmd) - by oliverrud - 21.06.2010, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)