SA-MP Forums Archive
/announce help! - 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: /announce help! (/showthread.php?tid=42174)



/announce help! - DjSterios - 03.07.2008

hi guys, i need a command /announce please.. can anyone give me that command? thanks


Re: /announce help! - boemeles - 03.07.2008

search for a /me command and adjust it to you needs

or open up any admin script and copy the code


Re: /announce help! - Sandra18[NL] - 03.07.2008

Код:
if(strcmp(cmdtext, "/announce", true, 9)==0)
{
  if(!strlen(cmdtext[10])) return SendClientMessage(playerid, 0xFF0000AA, "Use: /announce [message]");
  if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "Admins Only!");
  GameTextForAll(cmdtext[10], 5000, 3);
  return 1;
}



Re: /announce help! - thimo - 09.11.2009

but if i wanna make that announce saying 1 thing what i must do than?


Re: /announce help! - (.Aztec); - 09.11.2009

Nice, bumping a year long thread.