Raised This Month: $ Target: $400
 0% 

Countdown Plugin in Dhud


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 10-28-2018 , 08:11   Countdown Plugin in Dhud
Reply With Quote #1

Need Simple Countdown Plugin in Dhud ( 10 Second)
10 9 8 7 6 5 4 3 2 1 Go Go Go
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Mr Misw
Member
Join Date: Aug 2018
Location: India
Old 10-28-2018 , 08:33   Re: Countdown Plugin in Dhud
Reply With Quote #2

Try
PHP Code:
#include < amxmodx > 
#include < amxmisc >

enum(+=1000)
{
    
TASK_HUD
}


public 
plugin_init()
{
    
register_plugin
    
(
        .
plugin_name "Dhud Live Message",
        .
version "1.0",
        .
author "ScrewedUP"
    
)
    
    
register_cvar"sup_dhudtimer""1.0" FCVAR_SERVER|FCVAR_SPONLY )
    
    
register_clcmd("say /live" "Show_Live_Message")
    
}

public 
Show_Live_Message()
{
    
    
set_task1.0 ,"Show_Message",_,_,_,"a",10 )
        
}

public 
Show_Message()
{
    
    static 
live_time 10;
    
    
set_dhudmessage(random_num(0,255), random_num(0,255) , random_num(0,255) , 0.310.3301.01.0)
    
show_dhudmessage,  "-=[ %d ]=-" live_time-- )
    
    if ( 
live_time == )
    {
        
remove_task(TASK_HUD)
        
set_dhudmessage(4242255, -1.0, -1.002.06.00.80.8)
        
show_dhudmessage,  "GO    ||    GO    ||    GO" live_time-- )
    }
    
    

__________________
Facebook ==> Here
ScrewedUP's Website :
Main Website
My Ranking System [Skin Version] :
ScrewedUP Ranking System
My Ranking System [Without Skin Version] :
ScrewedUP Ranking System
Mr Misw is offline
Reply


Thread Tools
Display Modes

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 20:11.


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