Raised This Month: $ Target: $400
 0% 

disable taking guns


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 09-13-2012 , 13:49   disable taking guns
Reply With Quote #1

I want to disallow any team from taking guns on round end. How do i do that?
This one okay, i there is better way?

PHP Code:
new disWep

plugin init
()
{
    
register_logevent("round_end"2"1=Round_End");
    
register_event("HLTV""new_round""a""1=0""2=0")
    
RegisterHam(Ham_Touch"WeapEntTouch");
}

public 
round_end()
{
    
disWep true;
}

public 
new_round()
{
    
disWep false;
}

public 
WeapEntTouch()
{
    if(
disWep)
        return 
HAM_SUPERCEDE;

GhostMan is offline
 


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 08:21.


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