Raised This Month: $ Target: $400
 0% 

Remove Weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
driger38
Senior Member
Join Date: Apr 2011
Old 04-13-2013 , 20:27   Remove Weapon
Reply With Quote #1

PHP Code:
#include <amxmodx> 
#include <fun> 

public plugin_init()  

   
register_event("HLTV""new_round""a""1=0""2=0")   


public 
new_round() 

    static 
id 
    
for (id 1id <= get_maxplayers(); id++) 
    { 
        if(
is_user_connected(id) && is_user_alive(id)) 
        { 
            
strip_user_weapons(id
            
give_item(id"weapon_knife")  
        }     
    } 

It should remove all weapon at round start, but it doesnt do that, whats wrong?
driger38 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 10:54.


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