Forum der Deutschen Terrorkom

Forum der Deutschen Terrorkom (https://www.terrorkom-clan.de/forum/index.php)
-   FUN & SPAM (https://www.terrorkom-clan.de/forum/forumdisplay.php?f=17)
-   -   Langweile? :o (https://www.terrorkom-clan.de/forum/showthread.php?t=3303)

Kia 28.03.2013 00:40

Langweile? :o
 
Hallo,

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

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 




sc00p 28.03.2013 18:49

Was soll das sein? :O

Kia 30.03.2013 19:18

Zitat:

set_weapon_fullammo
Rezept für Kartoffelkuchen.


Alle Zeitangaben in WEZ +2. Es ist jetzt 03:49 Uhr.

vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.