progress.inc
#1

hey, i have big problem. So if in server play 2-4 players progress bar working and it showing for players but if in server +20 progressbar gone..

Код:
new Bar: BankBar[MAX_PLAYERS] = {INVALID_BAR_ID, ...},

onplayerconnect

	DestroyProgressBar(BankBar[playerid]);
	BankBar[playerid] = INVALID_BAR_ID;

onplayerdisconect

	DestroyProgressBar(BankBar[playerid]);
	BankBar[playerid] = INVALID_BAR_ID;
Reply
#2

up up
Reply
#3

increase the MAX_BARS in the include, also keep in mind that progress bars use many textdraws
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)