Raised This Month: $ Target: $400
 0% 

Sync Hudmessage Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 04-29-2016 , 08:16   Sync Hudmessage Problem
Reply With Quote #1

I'm hooking statsvalue even to show hud message on aiming player but the problem is whenever i aim 2-3 at once hud message overwrites, How to prevent this

Code:
set_hudmessage(0, 255, 255, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)
Awesome_man is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-29-2016 , 12:35   Re: Sync Hudmessage Problem
Reply With Quote #2

Without code we can not help you
__________________
Artifact is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-29-2016 , 13:37   Re: Sync Hudmessage Problem
Reply With Quote #3

PHP Code:
//At the top of your plugin add:
new g_Message[33]

//And change to this where you show message
new temp get_systime()
if(
temp >= g_Message[id]){
g_Message[id]= temp 3;
set_hudmessage(0255255, -1.00.6010.013.00.010.01, -1)
//show_hudmessage(blablalba.......)


Last edited by siriusmd99; 04-29-2016 at 13:40.
siriusmd99 is offline
Reply



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 18:40.


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