Raised This Month: $ Target: $400
 0% 

[HELP] Round Number


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-20-2011 , 05:59   Re: [HELP] Round Number
Reply With Quote #1

you should use

PHP Code:
++round_number 
instead.

You can't make a cvar for on/off since the function is in plugin_init
DjOptimuS is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-20-2011 , 06:05   Re: [HELP] Round Number
Reply With Quote #2

Quote:
Originally Posted by DjOptimuS View Post
you should use

PHP Code:
++round_number 
instead.
Doesn't matter, it's the same either way in this situation.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-20-2011 , 06:08   Re: [HELP] Round Number
Reply With Quote #3

my mistake then, sorry for giving the wrong information.
DjOptimuS is offline
Trickzz
Member
Join Date: Jun 2011
Old 06-20-2011 , 06:53   Re: [HELP] Round Number
Reply With Quote #4

And if you do bool, which for the first round off the purchase and includes the following?
Trickzz is offline
Trickzz
Member
Join Date: Jun 2011
Old 06-23-2011 , 13:40   Re: [HELP] Round Number
Reply With Quote #5

How do I show StatusIcon for 5 seconds?

PHP Code:
new g_IconStatus 
PHP Code:
    register_forward(FM_PlayerPreThink"Pre_Think")
    
g_IconStatus get_user_msgid("StatusIcon"
PHP Code:
public DeathMsg()
{
    new 
killer read_data(1)
    if(
FirstKill){     
        
zp_set_user_ammo_packs(killerzp_get_user_ammo_packs(killer) + get_pcvar_num(g_Money));
                
FirstKill false
    }
}

public 
Pre_Think(id)
{
    if (!(
pev(id,pev_button) & FL_ONGROUND))
    {    
        
message_begin(MSG_ONE_UNRELIABLEg_IconStatus, {0,0,0}, id)
        
write_byte(1)
        
write_string("dmg_shock")
        
write_byte(0)
        
write_byte(255)
        
write_byte(0)
        
message_end()
    }   

Trickzz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2011 , 15:19   Re: [HELP] Round Number
Reply With Quote #6

New topics need new threads.
__________________
fysiks is online now
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 23:33.


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