Detecting paused players?
#7

Quote:
Originally Posted by DBan
View Post
Why players getting Paused above them head when they are not afk?
Code:
if( GetPVarInt(playerid, "pause") != 0 )
	{
		label=Create3DTextLabel("Paused!",0xFFFFFFFF,30.0,40.0,50.0,40.0,0 ,0);
	    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
 	}
 	else if( GetPVarInt(playerid, "pause") == 0 )
	{
		Delete3DTextLabel(label);
	}
	SetPVarInt(playerid, "pause", 1);
Please,How can i fix this?
Reply


Messages In This Thread
Detecting paused players? - by Twisted_Insane - 14.04.2012, 09:39
Re: Detecting paused players? - by DBan - 14.04.2012, 09:47
Re: Detecting paused players? - by Twisted_Insane - 14.04.2012, 13:55
Re: Detecting paused players? - by Admigo - 14.04.2012, 13:56
Re: Detecting paused players? - by Twisted_Insane - 14.04.2012, 14:45
Re: Detecting paused players? - by Shetch - 14.04.2012, 15:04
Re: Detecting paused players? - by Admigo - 14.04.2012, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)