Jump to content
  • 0

pomoc AdminTitul


IchNar

Dotaz

Popis problému:

Mám takú otázku titul mi ako normálne funguje pred menom lenže,ja tam mám pred tým titulom farbu,a s tou farbou mi prefarbí celý text čo nechcem,chcem len aby bol farebný ten titul.

Ďakujem za odpovede.

 

Chyby/varování kompilátoru a při běhu:

--

 

Kód:

 

//tu je stock toho
stock GetPlayerAdminTitle(playerid)
{
new Titul[40];
switch(AdminLevel[playerid])
{
  case 1: Titul = "{AFAFAF}[Helper]";
  case 2: Titul = "{FFFF00}[Moderátor]";
  case 3: Titul = "{FF9900}[Administrátor]";
  case 4: Titul = "{9966FF}[Hlavný administrátor]";
  case 5: Titul = "{0000FF}[Majiteľ]";
}
return Titul;
}

 

 

 

Dodatečné poznámky:

--

Link to comment
Share on other sites

4 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Administrátor

stock GetPlayerAdminTitle(playerid)
{
new Titul[64];
switch(AdminLevel[playerid])
{
case 1: Titul = "{AFAFAF}[Helper]{FFFFFF}";
case 2: Titul = "{FFFF00}[Moderátor]{FFFFFF}";
case 3: Titul = "{FF9900}[Administrátor]{FFFFFF}";
case 4: Titul = "{9966FF}[Hlavný administrátor]{FFFFFF}";
case 5: Titul = "{0000FF}[Majiteľ]{FFFFFF}";
}
return Titul;
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...