Get next rank
#8

Quote:
Originally Posted by Despacito
Посмотреть сообщение
I wanna show in textdraw the current player score and the next rank score required. Like i am Corporal and i have 50 score, to be Corporal 2 i'll need 100 score, so 50 / 100

How?
you need create playertextdraws(if its player scores) https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
idk why you using foreach at this situation(you showing for all server players at one time?).

Код HTML:
        new scorestring[25];
	format(scorestring, sizeof(scorestring), "%d / %d", GetPlayerScore(playerid), rankScore);
	PlayerTextDrawSetString(playerid, NextRankTxd[[playerid]], scorestring);
Reply


Messages In This Thread
Get next rank - by Despacito - 14.04.2017, 21:16
Re: Get next rank - by DarkSkull - 14.04.2017, 22:07
Re: Get next rank - by Despacito - 14.04.2017, 23:10
Re: Get next rank - by Marricio - 14.04.2017, 23:26
Re: Get next rank - by Despacito - 16.04.2017, 09:57
Re: Get next rank - by JustNothing - 16.04.2017, 10:10
Re: Get next rank - by Despacito - 16.04.2017, 10:17
Re: Get next rank - by JustNothing - 16.04.2017, 10:24
Re: Get next rank - by Despacito - 16.04.2017, 10:36
Re: Get next rank - by JustNothing - 16.04.2017, 10:39

Forum Jump:


Users browsing this thread: 2 Guest(s)