Need help regarding 3d labels
#4

1st of all if you have that public on a timer i'm sure somebody's game will eventually crash as every time you call it and their health is below what you have set it will create a new 3d text everytime so why not just create 1 3dtext like

new 3DText:Player[MAX_PLAYERS]

then on player spawn just create their 3dtext and just give it a blank name so you can't see it untill necessary and just update their 3d text instead of creating new ones..

also change the public from playerid to
Код:
for(new i=0; i < MAX_PLAYERS; i++)
	{
so then it will call upon every player but set it to those only with hp less than wat ever
Reply


Messages In This Thread
Need help regarding 3d labels - by Striker_Moe - 17.10.2009, 12:57
Re: Need help regarding 3d labels - by V1ceC1ty - 17.10.2009, 12:58
Re: Need help regarding 3d labels - by Striker_Moe - 17.10.2009, 12:59
Re: Need help regarding 3d labels - by Beaver07 - 17.10.2009, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)