Raised This Month: $ Target: $400
 0% 

About HUD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AwesomeMan
Member
Join Date: Jun 2013
Old 07-24-2013 , 18:19   About HUD
Reply With Quote #1

Hey, so im working on a plugin with xp and things like that, have the xp system working etc...
but im facing a problem, iwant a hud message that stays all the time and doesnt dissapear.
This is what i have tried:
Code:
public showallhud()
{
	set_hudmessage(255, 255, 255, 0.02, 0.92, 0, 6.0, 12.0, 0.01, 0.01, 23)
	new players[32], pnum, tempid;
	get_players( players, pnum );
	for ( new i; i < pnum; i++ )
	{
		tempid = players[i];
		ShowSyncHudMsg(tempid, hud, "Suspect: #%d -- HP: %d^nXP: %i", tempid, get_user_health(tempid), PlayerXP[tempid])
		}
		
	}
	set_task(5.0,"showallhud")
}
However, it does dissapear, appear again many times and i just want it to stay all the time but only XP to change. Any ideas?
AwesomeMan is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode