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

Wysłany: 2014-09-15, 17:37


Zon3







Wiek: 32
Na forum: 4280 dni
Posty: 66

Piwa: 4

Respekt: 50

Ostrzeżeń: 100%
Witam. Mam taki problem, dzisiaj robi?em sobie rangi na chacie. Jest git rangi sie wyswietlaj? ale niektorzy uzytkownicy maj? tak, ?e jak napisz? co? na chacie to nie widac ich nicku, wiadomosci itp. tylko jest pusta linia. Oto kod:
Kod:

if(PlayerInfo[playerid][VIP] == 1 && PlayerInfo[playerid][Team] >= 1)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" VIP - (%d) : {FFFFFF}%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 1)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" MOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 2)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" J@ - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 3)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" ADM - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 4)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" S@ - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 5)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" GOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 6)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" GOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 1 && PlayerInfo[playerid][Team] == 0)
{

// BEZROBOTNY #9e9e9e
format(string,sizeof string,"{9e9e9e}%s:"BIALYHEX" VIP - (%d) : "BIALYHEX"%s",PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] == 0)
{
// BEZROBOTNY #9e9e9e
format(string,sizeof string,"{9e9e9e}%s:"BIALYHEX" (%d) : %s",PlayerName(playerid),playerid,text);
}

SendClientMessageToAll(Bialy,string);


return 0;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-16, 00:28


IgrexolonO







Wiek: 34
Na forum: 6809 dni
Posty: 1386

Piwa: 1062

Respekt: 651,8
Respekt: 651,8Respekt: 651,8

Kod:

if(PlayerInfo[playerid][VIP] == 1 && PlayerInfo[playerid][Team] >= 1)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" VIP - (%d) : {FFFFFF}%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 1)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" MOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 2)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" J@ - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 3)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" ADM - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 4)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" S@ - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 5)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" GOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 0 && PlayerInfo[playerid][Team] >= 1 && PlayerInfo[playerid][LevelAdmin] == 6)
{
format(string,sizeof string,"{%x}%s:"BIALYHEX" GOD - (%d) : "BIALYHEX"%s",color,PlayerName(playerid),playerid,text);
}
else if(PlayerInfo[playerid][VIP] == 1 && PlayerInfo[playerid][Team] == 0)
{

// BEZROBOTNY #9e9e9e
format(string,sizeof string,"{9e9e9e}%s:"BIALYHEX" VIP - (%d) : "BIALYHEX"%s",PlayerName(playerid),playerid,text);
}
else
{
// BEZROBOTNY #9e9e9e
format(string,sizeof string,"{9e9e9e}%s:"BIALYHEX" (%d) : %s",PlayerName(playerid),playerid,text);
}

SendClientMessageToAll(Bialy,string);


return 0;
}


Z okazji urodzin, znaj moje szczodre serce.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-17, 16:33


Zon3







Wiek: 32
Na forum: 4280 dni
Posty: 66

Piwa: 4

Respekt: 50

Ostrzeżeń: 100%
Dzi?kuj? :) Leci :piwo: dla cb :)

Postaw piwo autorowi tego posta
 

 
Tagi: rangi :: chacie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN 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