AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   StatusIcon , Show on center impossible (https://forums.alliedmods.net/showthread.php?t=253357)

Kuma77 12-20-2014 15:16

StatusIcon , Show on center impossible
 
Hi ,
can i show StatusIcon at center of screen ( it always show on left of screen like this )

https://lh3.googleusercontent.com/-c...sImagesALL.jpg


PHP Code:


#include <fakemeta_util>

new statusicon,bool:blink_stat[3]

public 
plugin_init(){
    
    
statusicon get_user_msgid("StatusIcon")

}

public function()
{
    
engfunc(EngFunc_MessageBegin,MSG_ALL,statusicon,{0.00.00.0},0)
    
write_byte(1)
    
write_string("dmg_shock")
    
write_byte(0)
    
write_byte(128)
    
write_byte(255)
    
message_end()



wickedd 12-20-2014 15:23

Re: StatusIcon , Show on center HELP
 
I don't think it's possible.

Kuma77 12-20-2014 15:29

Re: StatusIcon , Show on center HELP
 
Quote:

Originally Posted by wickedd (Post 2237697)
I don't think it's possible.

What if edit on hud.txt ?

YamiKaitou 12-20-2014 15:30

Re: StatusIcon , Show on center HELP
 
Quote:

Originally Posted by Kuma77 (Post 2237699)
What if edit on hud.txt ?

Then it will only reflect on your copy of the game, not everyone elses

Kuma77 12-20-2014 15:35

Re: StatusIcon , Show on center HELP
 
Quote:

Originally Posted by YamiKaitou (Post 2237701)
Then it will only reflect on your copy of the game, not everyone elses

and after precach ??

YamiKaitou 12-20-2014 16:02

Re: StatusIcon , Show on center HELP
 
Quote:

Originally Posted by Kuma77 (Post 2237704)
and after precach ??

A client will not download a file they already have and every client has a hud.txt by default

Kuma77 12-20-2014 16:28

Re: StatusIcon , Show on center HELP
 
Quote:

Originally Posted by YamiKaitou (Post 2237714)
A client will not download a file they already have and every client has a hud.txt by default

ok thanks for this information


All times are GMT -4. The time now is 15:18.

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