Player to player Give gun command
#2

Color Define..
pawn Код:
#define COLOR_RED 0xFF0000AA
#define COLOR_GREEN 0x33AA33AA
Here you go with /me command. (ZCMD + SSCANF)
pawn Код:
CMD:me(playerid,params[])
{
   new string[128], pname[MAX_PLAYER_NAME];
   if(!strlen(params))
  {
     SendClientMessage(playerid,COLOR_RED,"[ERROR] /me [message]");
  }
  GetPlayerName(playerid,name,sizeof(name));
  format(string,sizeof(string),"%s %s",pname,playerid,params);
  SendClientMessageToAll(COLOR_GREEN,string);
  return 1;
}
Reply


Messages In This Thread
Player to player Give gun command - by ParadiseRP - 07.03.2014, 15:52
Re: Player to player Give gun command - by biker122 - 07.03.2014, 16:03
Re: Player to player Give gun command - by ParadiseRP - 07.03.2014, 16:04
Re: Player to player Give gun command - by Chrillzen - 07.03.2014, 16:07
Re: Player to player Give gun command - by ParadiseRP - 07.03.2014, 16:13
Re: Player to player Give gun command - by Chrillzen - 07.03.2014, 19:02
Re: Player to player Give gun command - by XK - 07.03.2014, 19:09
Re: Player to player Give gun command - by ParadiseRP - 08.03.2014, 08:11

Forum Jump:


Users browsing this thread: 2 Guest(s)