Help TD
#1

I have a problem with textdraw,him don't show me "none" if I'm not in a gang.
But,if I'm in a gang,work great,but without gang,no,I will leave a picture: https://imgur.com/a/ueQzdRz

Codes down:

Код HTML:
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]);
Reply


Messages In This Thread
Help TD - by SeeNN - 30.01.2019, 00:28
Re: Help TD - by UFF - 30.01.2019, 14:23
Re: Help TD - by SymonClash - 30.01.2019, 14:25
Re: Help TD - by Florin48 - 30.01.2019, 14:46
Re: Help TD - by SeeNN - 30.01.2019, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)