VIP Tag
#5

I think, it would work fine...

PHP код:
public OnPlayerText(playeridtext[])
{
switch (
VIP[playerid] == 1
    {
    case 
0:
    {
    new 
string[128];
    
format(string,sizeof(string),"%s [%i]: {FFFFFF}%s",PlayerName2(playerid),playerid,text);
    
SetPlayerChatBubble(playeridtext0xFFFFFFFF100.010000);
    
printf(string);
    
SendClientMessageToAll(GetPlayerColor(playerid),string);
    return 
0;
    }
    case 
1:
    {
    new 
aName[MAX_PLAYER_NAME], string2[128];
    
GetPlayerName(playeridaName,sizeof(aName));
    
format(string2,sizeof(string2),"[VIP]: %s: %s",aName,text);//I think, it is the tag.
    
printf(string2);
    
SendClientMessageToAll(COLOR_CYAN,string2);//The message color
    
return 0;
    }
    }
    return 
1;

Reply


Messages In This Thread
VIP Tag - by Blackazur - 21.10.2012, 17:31
Re: VIP Tag - by Riddick94 - 21.10.2012, 17:37
Re: VIP Tag - by gtakillerIV - 21.10.2012, 17:37
AW: VIP Tag - by Blackazur - 21.10.2012, 18:05
Re: VIP Tag - by ThePhenix - 21.10.2012, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)