Raised This Month: $ Target: $400
 0% 

HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pinnker123
Senior Member
Join Date: Jul 2014
Location: BG
Old 03-01-2015 , 17:00   HUD
Reply With Quote #1

Hi, i search plugin:
I want the plugin add HUD:

Visit Our Site: here i add the adress
[Premium: ADMIN For 4.80$ Skype: i add here my skype ]

Published
[INFO ADMIN, VIP Skype: i add here my skype]
[E-mail: [email protected] ]



I want all players in Spectator, have this HUD
__________________

Last edited by Pinnker123; 03-01-2015 at 17:01.
Pinnker123 is offline
Send a message via Skype™ to Pinnker123
bat
Veteran Member
Join Date: Jul 2012
Old 03-02-2015 , 04:43   Re: HUD
Reply With Quote #2

PHP Code:
#include amxmodx
#tryinclude cstrike

public client_putinserver id )
{
     
set_task8.0 "messages" , . flags " b " )
}

public 
messages ()
{
     static 
id

     
for ( id 1id <= get_maxplayers(); id++ )
     {
         if ( 
is_user_connectedid ) && cs_get_user_teamid ) == CS_TEAM_SPECTATOR )  
         {
             switch( 
random_num) )
             {
                case 
0:
                {           
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.20 6.0 3.0 0.1 1.5 )  
                    
show_dhudmessageid "Visit Our Site: here i add the adress^n[Premium: ADMIN For 4.80$ Skype: i add here my skype ] " 
                }
                case 
1:
                {
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.28 6.0 3.0 0.1 1.5 )
                    
show_dhudmessageid "Published^n[INFO ADMIN, VIP Skype: i add here my skype]^n[E-mail: [email protected] ] " )
                }
            }
         }
     }

__________________

Last edited by bat; 03-02-2015 at 04:45.
bat is offline
Send a message via Skype™ to bat
frOOgy
Senior Member
Join Date: Jul 2014
Old 03-02-2015 , 09:22   Re: HUD
Reply With Quote #3

PHP Code:
#include <dhudmessage> 
?
__________________
Help me in other requests

Change Map System [PLUGIN]

GaG System [PLUGIN] [PLUGIN]
frOOgy is offline
Send a message via Skype™ to frOOgy
Pinnker123
Senior Member
Join Date: Jul 2014
Location: BG
Old 03-02-2015 , 09:28   Re: HUD
Reply With Quote #4

Quote:
Originally Posted by bat View Post
PHP Code:
#include amxmodx
#tryinclude cstrike

public client_putinserver id )
{
     
set_task8.0 "messages" , . flags " b " )
}

public 
messages ()
{
     static 
id

     
for ( id 1id <= get_maxplayers(); id++ )
     {
         if ( 
is_user_connectedid ) && cs_get_user_teamid ) == CS_TEAM_SPECTATOR )  
         {
             switch( 
random_num) )
             {
                case 
0:
                {           
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.20 6.0 3.0 0.1 1.5 )  
                    
show_dhudmessageid "Visit Our Site: here i add the adress^n[Premium: ADMIN For 4.80$ Skype: i add here my skype ] " 
                }
                case 
1:
                {
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.28 6.0 3.0 0.1 1.5 )
                    
show_dhudmessageid "Published^n[INFO ADMIN, VIP Skype: i add here my skype]^n[E-mail: [email protected] ] " )
                }
            }
         }
     }




Sorry but when i add the code, and compile, gave this error:


//AMXXPC compile.exe

////SpecHudServerInformation.sma
// D:ZM\Tester/Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\SpecHudS erverInformation.sma<21> : undefined symbol "set_dhudmessage"
// D:ZM\Tester/Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\SpecHudS erverInformation.sma<21> : undefined symbol "set_dhudmessage"
// D:ZM\Tester/Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\SpecHudS erverInformation.sma<21> : undefined symbol "set_dhudmessage"
// D:ZM\Tester/Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\SpecHudS erverInformation.sma<21> : undefined symbol "set_dhudmessage"
// D:ZM\Tester/Counter-Strike 1.6\cstrike\addons\amxmodx\scripting\SpecHudS erverInformation.sma<21> : undefined symbol "set_dhudmessage"
__________________
Pinnker123 is offline
Send a message via Skype™ to Pinnker123
Pinnker123
Senior Member
Join Date: Jul 2014
Location: BG
Old 03-02-2015 , 09:30   Re: HUD
Reply With Quote #5

Quote:
Originally Posted by frOOgy View Post
PHP Code:
#include <dhudmessage> 
?
now no have error's in the compile
__________________
Pinnker123 is offline
Send a message via Skype™ to Pinnker123
frOOgy
Senior Member
Join Date: Jul 2014
Old 03-02-2015 , 09:31   Re: HUD
Reply With Quote #6

PHP Code:
#include amxmodx
#include <dhudmessage>
#tryinclude cstrike

public client_putinserver id )
{
     
set_task8.0 "messages" , . flags " b " )
}

public 
messages ()
{
     static 
id

     
for ( id 1id <= get_maxplayers(); id++ )
     {
         if ( 
is_user_connectedid ) && cs_get_user_teamid ) == CS_TEAM_SPECTATOR )  
         {
             switch( 
random_num) )
             {
                case 
0:
                {           
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.20 6.0 3.0 0.1 1.5 )  
                    
show_dhudmessageid "Visit Our Site: here i add the adress^n[Premium: ADMIN For 4.80$ Skype: i add here my skype ] " 
                }
                case 
1:
                {
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.28 6.0 3.0 0.1 1.5 )
                    
show_dhudmessageid "Published^n[INFO ADMIN, VIP Skype: i add here my skype]^n[E-mail: [email protected] ] " )
                }
            }
         }
     }

__________________
Help me in other requests

Change Map System [PLUGIN]

GaG System [PLUGIN] [PLUGIN]
frOOgy is offline
Send a message via Skype™ to frOOgy
Pinnker123
Senior Member
Join Date: Jul 2014
Location: BG
Old 03-02-2015 , 09:37   Re: HUD
Reply With Quote #7

Quote:
Originally Posted by bat View Post
PHP Code:
#include amxmodx
#tryinclude cstrike

public client_putinserver id )
{
     
set_task8.0 "messages" , . flags " b " )
}

public 
messages ()
{
     static 
id

     
for ( id 1id <= get_maxplayers(); id++ )
     {
         if ( 
is_user_connectedid ) && cs_get_user_teamid ) == CS_TEAM_SPECTATOR )  
         {
             switch( 
random_num) )
             {
                case 
0:
                {           
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.20 6.0 3.0 0.1 1.5 )  
                    
show_dhudmessageid "Visit Our Site: here i add the adress^n[Premium: ADMIN For 4.80$ Skype: i add here my skype ] " 
                }
                case 
1:
                {
                    
set_dhudmessagerandom_num255 ) , random_num255 ) , random_num255 ) , -1.0 0.28 6.0 3.0 0.1 1.5 )
                    
show_dhudmessageid "Published^n[INFO ADMIN, VIP Skype: i add here my skype]^n[E-mail: [email protected] ] " )
                }
            }
         }
     }


Thank you @bat, thank you
__________________
Pinnker123 is offline
Send a message via Skype™ to Pinnker123
Pinnker123
Senior Member
Join Date: Jul 2014
Location: BG
Old 03-02-2015 , 12:04   Re: HUD
Reply With Quote #8

@bat would you make such a plugin but this time for the players who are not in *SPEC* I want the message to be displayed every 130 seconds
__________________
Pinnker123 is offline
Send a message via Skype™ to Pinnker123
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 07:43.


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