MultiLanguage Textdraw
#1

I help with the adaptation of the two languages​​. Please!
I try used: https://sampforum.blast.hk/showthread.php?tid=367901&langid=4
Quote:

new Lalala[MAX_PLAYERS][30], Lalala2[MAX_PLAYERS][30];
-------------
TextDrawHideForPlayer(playerid, Brabo[playerid]);
TextDrawHideForPlayer(playerid, Nebrabo[playerid]);
--------------
OnPlayerConnect:
Brabo[playerid] = TextDrawCreate(499,110,"_");//level
Nebrabo[playerid] = TextDrawCreate(499,97,"_");//kills
....
--------------
TextDrawShowForPlayer(playerid, Brabo[playerid]);
TextDrawShowForPlayer(playerid, Nebrabo[playerid]);
--------------
forward StatsPanel(playerid);
public StatsPanel(playerid)
{
new string[256], string2[256];

Lalala[playerid] = "Level";
Lalala2[playerid] = "Kills";
if(status[playerid] == 40)
{
format(string, sizeof(string), "%d", status[playerid]);
format(string2, sizeof(string2),"%s", ffff);
TextDrawSetString(Brabo[playerid],string);
TextDrawSetString(Nebrabo[playerid],string2);
}
else
{
format(string, sizeof(string), "%d", status[playerid]);
format(string2, sizeof(string2),"%d/%d",pStats[playerid][Kills], newstatus[playerid]);
TextDrawSetString(Brabo[playerid],string);
TextDrawSetString(Nebrabo[playerid],string2);
}
}

Thanks.
Reply


Messages In This Thread
MultiLanguage Textdraw - by ko2 - 09.11.2012, 12:43
Re: MultiLanguage Textdraw - by SuperViper - 09.11.2012, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)