/radio - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /radio (
/showthread.php?tid=178351)
/radio -
DragonBlaster50 - 21.09.2010
Hey guys, thanks to a friend I got one step further On scripting, But he Logged off and So i came here to ask for Help.
dcmd_radio(playerid, params[])
{
if (IsCop[id] == 1)) ((May not be right, I KNOW))
{
new string[256], message;
if(sscanf(params, "z", message)) return SendClientMessage(playerid, ORANGE, "[System] Usage: /radio [Text]");
format(string, sizeof(string), "[Radio] %s: %s", Name(playerid), playerid, message);
}
return 1;
}
I got till that, What do I do Now?
Thanks for the Help.
Re: /radio -
Mimic - 21.09.2010
pawn Код:
dcmd_radio(playerid, params[])
{
if (IsCop[id] == 1)) ((May not be right, I KNOW))
{
new string[256], message;
if(sscanf(params, "z", message)) return SendClientMessage(playerid, ORANGE, "[System] Usage: /radio [Text]");
format(string, sizeof(string), "[Radio] %s: %s", Name(playerid), playerid, message);
//Your SendClientMessage here
return 1;
}
}