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



admin announce - Georgelopez1 - 09.10.2010

Hey can someone help me with an "Admin announce" command?


Re: admin announce - willsuckformoney - 09.10.2010

Auto color = white

pawn Код:
dcmd_announce(playerid,params[])
{
    if(PlayerInfo[playerid][Level] >= 2 || IsPlayerAdmin(playerid)) {
        new str[128];
        if(!strlen(params)) return SendClientMessage(playerid,red,"USAGE: /announce <text>");
        format(str,sizeof(str),"~w~%s",params); GameTextForAll(str,4000,3);
    } else return SendERROR(playerid, 1);
    return 1;
}
Edit that.


Re: admin announce - Georgelopez1 - 09.10.2010

i use LuxAdmin if that helps...


Re: admin announce - willsuckformoney - 09.10.2010

LuxAdmin doesn't have a /announce command?


Re: admin announce - Georgelopez1 - 09.10.2010

Unfortunately no :/


Re: admin announce - Georgelopez1 - 09.10.2010

nvm it does xD


Re: admin announce - ••• ĤБĶБM ••• - 09.10.2010

Quote:
Originally Posted by Georgelopez1
Посмотреть сообщение
nvm it does xD
Okay. This thread should be locked, now.