Raised This Month: $ Target: $400
 0% 

[HELP] Action Nades BM!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
furka
Junior Member
Join Date: Sep 2009
Old 08-16-2010 , 12:20   [HELP] Action Nades BM!
Reply With Quote #1

I have a error in my code of nades in my block blockmaker.
The error is: When I have a nade on my hand and I jump on the respective block for I take a new HE, Flash or Frost, I need wait the next round cause the block say: Only 1 Nade for round. O_o
Thats the error. When i have a nade and i go to the block take a new he with the nade on my hand, the block dont leave me take a new nade!
HELP ME PLZ!!!


Code:
PHP Code:
actionHE(idOverrideTimer)
{
    
//get game time
    
new Float:fTime halflife_time();
 
    
//make sure player is alive
    
if (fTime >= gfHENextUse[id] || OverrideTimer)
    {
        
//ID HE
        
give_item(id"weapon_hegrenade");
        {
            
//omg
        
}
 
        
//set the time when the player can use the nuke again (someone might have been invincible)
        
gfHENextUse[id] = fTime get_cvar_float("bm_hecooldown");
 
        
//setup hud message to show who nuked what team
        
set_hudmessage(2552550, -1.00.3506.010.01.01.0);
 
    }
    else
    {
        
set_hudmessage(gHudRedgHudGreengHudBluegfTextXgfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTimegfHudFadeOutTimegHudChannel);
        
show_hudmessage(id"HE GRENADE BLOCK NEXT USE AFTER 1 ROUND"gfHENextUse[id] - fTime);
    }

What I need put in my code for arrange this?
I NEED HELLLLLP!

Sorry for my bad english!
furka is offline
kungfu
New Member
Join Date: Aug 2013
Old 08-10-2013 , 08:42   Re: [HELP] Action Nades BM!
Reply With Quote #2

set the time when the player can use the nuke again (someone might have been invincible)

edit fov

Last edited by kungfu; 08-10-2013 at 08:43.
kungfu is offline
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 22:00.


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