Announce Command [by mgd first work] -
mgd - 18.01.2013
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!
Re: Announce Command [by mgd first work] -
DiGiTaL_AnGeL - 18.01.2013
This is not a FS, this is a snippet. Wrong section...
Re: Announce Command [by mgd first work] -
KingHual - 19.01.2013
1. You don't need sscanf
2. You need a command processor
Why do people who have no idea how to code release stuff?
Re: Announce Command [by mgd first work] -
Djole1337 - 19.01.2013
That ^ Also where's a_samp ?
Re: Announce Command [by mgd first work] -
LocMax - 19.01.2013
You don't need #include <sscanf> you need #include <zcmd> instead then
Re: Announce Command [by mgd first work] -
fanta291327 - 19.01.2013
Good job
Re: Announce Command [by mgd first work] -
mgd - 19.01.2013
Thanks guys
i recoded it , now its work
thanks all
Re: Announce Command [by mgd first work] -
KingHual - 19.01.2013
lrn2edit
Re: Announce Command [by mgd first work] -
sscarface - 19.01.2013
Quote:
Originally Posted by king_hual
lrn2edit
|
stop giving fucking excuses, "lear2edit" better you tell him how to edit.
alwayz insulting a new player on samp motherfuker what about when someone do with you? do u got fucking feelings? or u fucking stoneheart?
Re: Announce Command [by mgd first work] -
mgd - 19.01.2013
Quote:
Originally Posted by sscarface
stop giving fucking excuses, "lear2edit" better you tell him how to edit.
alwayz insulting a new player on samp motherfuker what about when someone do with you? do u got fucking feelings? or u fucking stoneheart?
|
/agree with that.