Raised This Month: $ Target: $400
 0% 

Noob problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bladell
Senior Member
Join Date: Jun 2012
Old 11-19-2013 , 08:14   Re: Noob problem
Reply With Quote #3

PHP Code:
public newRound(id)
{
    
noob_checklevel(id)
    if ( 
gHasnoobPower[id] )
    {
        
noobs[id] = get_cvar_num("noob_arrows")
        
gLastWeapon[id] = -1  // I think the change Weapon automatically gets called on spawn death too...
        
        
if ( get_cvar_num("noob_getdeagle") == )
            
shGiveWeapon(id,"weapon_deagle")
    }

I already tried but doesn't work...this function is executed every time when player is respawned...I don't know why.
PHP Code:
register_event("ResetHUD","newRound","b"
I thought that a solution would to get round timmer, so if player is revived after first 10 seconds of a round he will not receive other bullets.
Bladell is offline
 



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 19:53.


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