new GangTextDrawColor; GangTextDrawColor = Colors[GangInfo[CosminInfo[playerid][GangID]][GangColor]]; //-------------------------------------------------------------------------- PlayerTextDrawColor(playerid, Gang[1], GangTextDrawColor); //-------------------------------------------------------------------------- new string[256]; new ggsRank[256]; if(CosminInfo[playerid][GangID] == 0) ggsRank ="{F81414}None"; format(string, sizeof string, "%s %s", ggsRank, GangInfo[CosminInfo[playerid][GangID]][GangName]); PlayerTextDrawSetString(playerid, Gang[1], string); //-------------------------------------------------------------------------- PlayerTextDrawShow(playerid, PlayerText:Gang[0]); PlayerTextDrawShow(playerid, PlayerText:Gang[1]);
new string[256];
if(CosminInfo[playerid][GangID] == 0)
{
format(string, sizeof string, "{F81414}None");
}
else format(string, sizeof string, "%s", GangInfo[CosminInfo[playerid][GangID]][GangName]);
PlayerTextDrawSetString(playerid, Gang[1], string);
new string[150];
switch(CosminInfo[playerid][GangID])
{
case 0: format(string, sizeof string, "{F81414}None");
case 1: format(string, sizeof string, "%s %s", ggsRank, GangInfo[CosminInfo[playerid][GangID]][GangName]);
}
PlayerTextDrawSetString(playerid, Gang[1], string);
EN: solved?
RO: te ajut eu daca mai e ceva, ce denumire ai dat si tu la variabila CosminInfo ) |