Questions regarding about 3DTextLabel
#1

I would like to know if i update the attached 3d text label to players every 2500 milesecond would affect the server's performance or the player's game.

I would also like to know if i placed "_" on the attached 3d text label, Would it crash the server's client?

That'd be all.

Information:
I am creating an admin/vip label system. To prevent using tons of codes (I am lazy), i decided to create the label onplayerconnect. The label then gets updated every 2500 mileseconds, Checking if the player is admin or vip, updating them to admin/vip label text. The label then gets destroyed OnPlayerDisconnect.
Reply
#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
#3

Thank you for clearing that out.
Reply
#4

Np bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)