Announce Command - 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)
+--- Thread: Announce Command (
/showthread.php?tid=472512)
Announce Command -
Sewayne - 28.10.2013
Can anyone post a script showing an announce command which uses ZCMD
Код:
CMD:announce(playerid, params[])
etc...
It shows a text on the screen for all players for about 3 seconds
Re: Announce Command - Patrick - 28.10.2013
Not sure If I miss something, you must use sscanf and zcmd
pawn Код:
CMD:announce(playerid, params[])
{
new string[90]
if(sscanf(params, "s[90]", string))
return SendClientMessage(playerid, -1, "Syntax: /announce [message]");
GameTextForAll(string, 3500, 3);
return true;
}
Re: Announce Command -
Sewayne - 28.10.2013
Thanks pds2k12, it worked. +REPUTATION