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
#2

It's not possible. SA-MP doesn't support those characters.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)