Thema: Langweile? :o
Einzelnen Beitrag anzeigen
Langweile? :o
Alt
  (#1)
Kia
Benutzer
Benutzerbild von Kia
 
Status: Offline
Beiträge: 74
Registriert seit: 19.03.2010
Standard Langweile? :o - 28.03.2013, 00:40

Hallo,

Mir ist langweilig und Thomas hat kein Eis mehr. :/
Viel Spaß damit.

PHP-Code:
#include <cstrike> 
#include <fun> 
#include <engine> 

enum (<<=1

    
CLIP 1
    
BP
    
BOTH CLIP BP 


stock set_weapon_fullammo(idCSW_WEAPONiFillType BOTH

    static const 
iBPAmmo[CSW_P90 1] = { 
        
05290132, -1100901120100120909090
        
90100120301202003290120901359090, -1100 
    

     
    static const 
iClipAmmo[CSW_P90 1] = { 
        
013101713030130202530303035,  
        
122010301008303030173030, -150 
    

     
    static const 
NullWeapons = ( (1<<CSW_C4) | (1<<CSW_KNIFE) ) 
    static const 
iGrenadesBitSum = ( (1<<CSW_HEGRENADE) | (1<<CSW_FLASHBANG) | (1<<CSW_SMOKEGRENADE) ) 
     
    static 
szWeapon[25], iWeapon 
     
    
if( (1<<CSW_WEAPON) & NullWeapons || (!(CSW_P228 <= CSW_WEAPON <= CSW_P90) ) || !is_user_connected(id)) 
        return 

         
    
if((1<<CSW_WEAPON) & iGrenadesBitSum
    { 
        if(!
user_has_weapon(idCSW_WEAPON)) 
        { 
            
get_weaponname(CSW_WEAPONszWeaponcharsmax(szWeapon)) 
            
give_item(idszWeapon
        } 
         
        return 

    

     
    if(
iFillType CLIP
    { 
        if(!
user_has_weapon(idCSW_WEAPON)) 
            return 

         
        iWeapon 
= -1,  
        
get_weaponname(CSW_WEAPONszWeaponcharsmax(szWeapon)) 
        
iWeapon find_ent_by_owner(iWeaponszWeaponid
         
        if(
iWeapon
        { 
            
cs_set_weapon_ammo(iWeaponiClipAmmo[CSW_WEAPON]) 
        } 
    } 
     
    if( 
iFillType BP 
    { 
        
cs_set_user_bpammo(idCSW_WEAPONiBPAmmo[CSW_WEAPON]) 
    } 
     
    return 





Wer sind sie und was machen sie in meiner Wohnung?
   
   Mit Zitat antworten