Big Problem
#3

Quote:
Originally Posted by Grand_Micha
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    switch(PlayerInfo[playerid][pAdmin])
    {
    case 3:
    {
        new pName[MAX_PLAYER_NAME], String[128];
        GetPlayerName(playerid, pName, 24);
        format(String, sizeof(String), "{FF3333}[Owner]{AFAFAF}%s: %s", pName, text);
        SendClientMessageToAll(-1,String);
        return 0;
    }
    case 2:
    {
        new pName[MAX_PLAYER_NAME], String[128];
        GetPlayerName(playerid, pName, 24);
        format(String, sizeof(String), "{FF3333}[Head-Admin]{AFAFAF}%s: %s", pName, text);
        SendClientMessageToAll(-1,String);
        return 0;
    }
    case 1:
    {
        new pName[MAX_PLAYER_NAME], String[128];
        GetPlayerName(playerid, pName, 24);
        format(String, sizeof(String), "{FF3333}[Moderator]{AFAFAF}%s: %s", pName, text);
        SendClientMessageToAll(-1,String);
        return 0;
    }
    case 0:
    {
        new pName[MAX_PLAYER_NAME], String[128];
        GetPlayerName(playerid, pName, 24);
        format(String, sizeof(String), "{FF3333}[Member]{AFAFAF}%s: %s", pName, text);
        SendClientMessageToAll(-1,String);
        return 0;
    }
    }
    return 1;
}
man you are this best tnx for help
Reply


Messages In This Thread
Big Problem - by rumen98 - 25.06.2012, 09:14
Re: Big Problem - by Grand_Micha - 25.06.2012, 09:20
Re: Big Problem - by rumen98 - 25.06.2012, 09:23
Re: Big Problem - by rumen98 - 25.06.2012, 09:32
Re: Big Problem - by Grand_Micha - 25.06.2012, 09:39
Re: Big Problem - by JaKe Elite - 25.06.2012, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)