[FilterScript] Announce Command [by mgd first work]
#1

Announce Command [by mgd first work]
Hey guys thats my first work
What is that fs ?
It can let you /announce <text>

First of all you that you need in your pawno
pawn Код:
#include <a_samp>
#include <zcmd>
Add Below
pawn Код:
CMD:announce(playerid, params[])
{
    new
        string[152],
        pName[MAX_PLAYER_NAME]
    ;
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFF, "You are not admin");
    if (isnull(params)) return SendClientMessage(playerid, 0xFF0000, "Usage:/announce [text]");
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "{F2240D}[Admin] %s:{09F7C7} %s", pName, params);
    SendClientMessageToAll(0xFFFFFFF, string);
    return 1;
}
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "{F2240D}[Admin] %s:{09F7C7} %s", pName, params);
    SendClientMessageToAll(0xFFFFFFF, string);
    return 1;
}
Or
http://pastebin.com/ZdEGCzY4

Download link
MediaFire Link!
Reply


Messages In This Thread
Announce Command [by mgd first work] - by mgd - 18.01.2013, 19:33
Re: Announce Command [by mgd first work] - by DiGiTaL_AnGeL - 18.01.2013, 20:21
Re: Announce Command [by mgd first work] - by KingHual - 19.01.2013, 14:10
Re: Announce Command [by mgd first work] - by Djole1337 - 19.01.2013, 14:15
Re: Announce Command [by mgd first work] - by LocMax - 19.01.2013, 14:36
Re: Announce Command [by mgd first work] - by fanta291327 - 19.01.2013, 14:39
Re: Announce Command [by mgd first work] - by mgd - 19.01.2013, 15:08
Re: Announce Command [by mgd first work] - by KingHual - 19.01.2013, 15:36
Re: Announce Command [by mgd first work] - by sscarface - 19.01.2013, 16:51
Re: Announce Command [by mgd first work] - by mgd - 19.01.2013, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)