Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2013-04-15, 19:46


MalyFanek







Wiek: 33
Na forum: 5018 dni
Posty: 20

Piwa: 3

Respekt: 50

tekst admina jest czerwony, taki jak jego prefiks,chcia?bym ?eby teskt pozosta? normalny oto kod
Kod:


if(IsPlayerAdmin(playerid)){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{FF0000}Head {FF0000}Admin| {FF0000}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Administrator[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{FF6600}Admin| {FF6600}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Moderator[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{33CC66}Mod| {33CC66}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Vip[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFF66}|VIP| {FFFF66}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(logged[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|Gracz| %s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;


Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-04-15, 20:29


FullClip







Wiek: 29
Na forum: 5797 dni
Posty: 82
Nick w MP: Raiden

Piwa: 350

Respekt: 59,8

Kod:

if(IsPlayerAdmin(playerid)){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{FF0000}Head {FF0000}Admin| {FFFFFF}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Administrator[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{FF6600}Admin| {FFFFFF}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Moderator[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|{33CC66}Mod| {FFFFFF}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(Vip[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFF66}|VIP| {FFFFFF}%s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;
}
if(logged[playerid]){
format(string, sizeof string, "%i {%06x}%s {FFFFFF}|Gracz| %s", playerid, (GetPlayerColor(playerid) >>> 8),PlayerName(playerid), text);
SendClientMessageToAll(C_GREY, string);
return 0;

Teraz tekst bedzie bialy.

Podpis
Postaw piwo autorowi tego posta
 

 
Tagi: kolor :: czatu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » [DM] kolor czatu Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku