Raised This Month: $ Target: $400
 0% 

Making weapons pickuple


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-18-2010 , 17:44   Making weapons pickuple
Reply With Quote #1

I am using this code:

PHP Code:
        new iEnt
        
while( (iEnt find_ent_by_class(iEnt"armoury_entity")) > )
        {
            
entity_set_int(iEntEV_INT_effectsentity_get_int(iEntEV_INT_effects) | EF_NODRAW)
            
entity_set_int(iEntEV_INT_solidSOLID_NOT)
        }
        while( (
iEnt find_ent_by_class(iEnt"weaponbox")) > )
        {
            
entity_set_int(iEntEV_INT_flagsFL_KILLME)
            
call_think(iEnt)
        }

public 
WeaponBox_Spawn_PostiEnt )
{
    
entity_set_int(iEntEV_INT_flagsFL_KILLME)
    
call_think(iEnt)

Well, this does remove the weapons from the ground. I would like to know how to make it, that it should appear again on roundstart + dropping the weapons from the alive players when those guns from the ground gets removed.
KadiR 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:35.


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