Need a help with this thing :(
#2

pawn Код:
sendername = GetPlayerNameEx(playerid);

    switch(PlayerInfo[playerid][pAccent])
    {
        case 0..1:
        {
            if(AdminDuty[playerid] == 1)
            {
                format(string, sizeof(string), "%s says: (( %s )) ", sendername, text);
            }
            else
            {
                format(string, sizeof(string), "%s says: %s", sendername, text);
            }

            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(BigEar[i] == 1)
                {
                    ProxDetector(999999.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                }
                else
                {
                    ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                    SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
                }
            }
        }
Reply


Messages In This Thread
Need a help with this thing :( - by ChristianIvann09 - 20.03.2014, 21:29
AW: Need a help with this thing :( - by Macronix - 20.03.2014, 22:01

Forum Jump:


Users browsing this thread: 1 Guest(s)