AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Round Timer (https://forums.alliedmods.net/showthread.php?t=185386)

Alekkkk 05-16-2012 14:52

Round Timer
 
How can i hide the round timer?

kp3t3h 05-16-2012 14:58

Re: Round Timer
 
here
http://forums.alliedmods.net/showthread.php?t=76947

Alekkkk 05-16-2012 15:32

Re: Round Timer
 
PHP Code:

public hide_roundtimer(id)
{
    
message_begin(MSG_ONE,get_user_msgid("HideWeapon"),_,id)
    
write_byte(1<<4)
    
message_end()


And call it on player spawn , is this right ?

mottzi 05-16-2012 17:56

Re: Round Timer
 
Change it in ResetHud event

register_event("ResetHUD", "onResetHUD", "b")

Alekkkk 05-21-2012 18:57

Re: Round Timer
 
when i use this event it hides after 10 seconds when join the server , and when i'm respawned the timer is visible again..


All times are GMT -4. The time now is 00:29.

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