Questions regarding about 3DTextLabel
#2

You dont even need a timer, make a stock then when he connects call a stock to check what is he and update a label.

And there is just 1 more place to put that code that is when you give him admin/vip

Код:
stock UpdateStaffLabel(pid) {
	if(PlayerInfo[pid][pAdmin] > 0) {
		Update3DTextLabelText(YourLabel[pid], 0xFFFFFFFF, "Admin");
	}
	else if(PlayerInfo[pid][pVIP] > 0) {
		Update3DTextLabelText(YourLabel[pid], 0xFFFFFFFF, "VIP");
	}
	return 1;
}
And _ Will not crash a client...
Reply


Messages In This Thread
Questions regarding about 3DTextLabel - by JaKe Elite - 24.10.2015, 08:36
Re: Questions regarding about 3DTextLabel - by Dusan01 - 24.10.2015, 09:44
Re: Questions regarding about 3DTextLabel - by JaKe Elite - 24.10.2015, 10:17
Re: Questions regarding about 3DTextLabel - by Dusan01 - 24.10.2015, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)