making megaphone script makes my script mad?
#6

pawn Код:
dcmd_m(playerid, params[])
{
    if (gTeam[playerid]==LSPD)
    {
         if (!strlen(params))
         {
              new string[128], name[MAX_PLAYER_NAME];
              GetPlayerName(playerid, name, sizeof(name));
              format(string, sizeof(string), "[MEGAPHONE]%s : %s",name, params);
              SendClientMessageToAll(COLOR_BLUE, string);
         }
    }
        return 1;
}
That should work.
Reply


Messages In This Thread
making megaphone script makes my script mad? - by raido - 06.03.2009, 13:54
Re: making megaphone script makes my script mad? - by Flo_White - 06.03.2009, 14:28
Re: making megaphone script makes my script mad? - by raido - 06.03.2009, 15:12
Re: making megaphone script makes my script mad? - by Flo_White - 06.03.2009, 20:29
Re: making megaphone script makes my script mad? - by Thebest96 - 16.07.2010, 12:45
Re: making megaphone script makes my script mad? - by [HiC]TheKiller - 16.07.2010, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)