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



help please - Ananisiki - 17.03.2013

^^^^^^^^


Re: help please - Ryan_Bowe - 17.03.2013

pawn Код:
stock MessageToAllAdmins(const msg[],color = -1)
{

    for(new i; i != MAX_PLAYERS; i++)
        if(IsPlayerConnected(i) && IsCnRAdmin(i) || IsPlayerAdmin(i)))
        SendClientMessage(i,color,msg);

    return;
}
I don't know if this works, but you could at least try.