Detaljan opis problema: Želim da napravim progress bar preko textdrawa i da mi on pokazuje Respekte/SlijedećiLevelPotrebniRespekti ali se gubim i ne mogu baš skontati kako napraviti..
Dio skripte:
new Text:EXP;
OnGameModeExit...
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
TextDrawHideForAll(EXP);
TextDrawDestroy(EXP);
}
OnPlayerConnect...
new expamount = PlayerInfo*levelexp;
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
EXP = TextDrawCreate(250.000000, 420.000000, "EXP: %d/%d", PlayerInfo, expamount);
TextDrawBackgroundColor(EXP, 255);
TextDrawFont(EXP, 2);
TextDrawLetterSize(EXP, 0.250000, 0.900000);
TextDrawColor(EXP, 0xFFFFFFFF);
TextDrawSetOutline(EXP, 1);
TextDrawSetProportional(EXP, 1);
TextDrawSetShadow(EXP, 0);
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
Želim napraviti nešto na ovaj fazon: http://i48.tinypic.com/if1x4w.png
Da mi textdraw pokazuje Respekti/MaximalanBrojRespekataZaSlijedećiLevel
