View Single Post
Old 29/06/2020, 10:50 AM   #2
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 689
Reputation: 63
Default Re: How to text to all Leader

pawn Code:
CMD:msgtoleaders(playerid, cmdtext[])
{
    new text[144];
    if(sscanf(cmdtext, "s[144]", text)) return SendClientMessage(playerid, -1, "/msgtoleaders <text>");
    foreach(new i : Player)
    {
        if( PlayerInfo[i][pLeader] == true) SendClientMessage(i, -1, text);
    }
    return 1;
}
xRadical3 is offline   Reply With Quote