Resurse CS,Jocuri Online Si Multe Altele
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Resurse CS,Jocuri Online Si Multe Altele


 

 [SA:MP] Real Chat Colored for Admin

Go down 
AuthorMessage
xPlode
Admin Forum
Admin Forum
xPlode


Posts : 265
Join date : 26/08/2011
Age : 27

[SA:MP] Real Chat Colored for Admin Empty
PostSubject: [SA:MP] Real Chat Colored for Admin   [SA:MP] Real Chat Colored for Admin Icon_minitimeSun Sep 04, 2011 6:20 am

Descriere: Acest script va face ca chatul adminilor sa apara colorat:

Cautam:
Code:
if (realchat)

si de la acesta functie if (realchat) pana la } return 0; inlocuim cu:
Code:
if (realchat)
    {
        if(gPlayerLogged[playerid] == 0)
        {
            return 0;
          }
        new i;
        while (text[++i])
        {
            if(text[i] > 64 && text[i]< 91) text[i] += 32;
        }
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
            new Colors[] = { COLOR_WHITE, COLOR_YELLOW, COLOR_LIGHTGREEN, TEAM_ORANGE_COLOR, TEAM_GROVE_COLOR, 0x008100AA };
            SetPlayerChatBubble(playerid,says: text, Colors[random(sizeof(Colors))], 50.0, 5000);
        }
        if(PlayerInfo[playerid][pAdmin] >= 1)
          {
            format(string, sizeof(string), " %s ", text);
            SetPlayerChatBubble(playerid, string, 0xFFFF80FF, 30.0, 8000);
        }
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "%s Says: %s", sendername, text);
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        return 0;
    }
Back to top Go down
http://csresurse.4rumer.ro
 
[SA:MP] Real Chat Colored for Admin
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Resurse CS,Jocuri Online Si Multe Altele :: Alte Jocuri :: San Andreas / SAMP :: TUTORIALE San Andreas / SAMP-
Jump to: