Raised This Month: $12 Target: $400
 3% 

Base Builder Shop


  
 
 
Thread Tools Display Modes
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 05-24-2011 , 11:05   Re: Base Builder Shop
#11

Ouais je sais j'ai juste c/c le code de Connor pour pas l'obliger à télécharger l'include etc...
__________________
Kidev is offline
Masoku
Junior Member
Join Date: May 2011
Old 05-24-2011 , 12:06   Re: Base Builder Shop
#12

Quelques modif en rouge à faire, et sa sera parfait

Super Cut : models/furien_superknife.mdl : 15.000 dégâts avec un gros coup de cut : 4.500$
Vitesse : 325 : 6.000$
Gravity : 0,150 : 6.000$
HP : +150 : 5.000$
Grenade : 250 dégâts : 2.500$
Flash : 2.500$
Smoke : 2.500$
Super M249 : Dommage x2 : 8.000$
Super AWP : Dommage x2 : 8.000$
Super Deagle : models/v_golden_deagle.mdl : Dommage x4 : 8.000$
Kit Guns : M4A1 Dommage x2 + Deagle : Dommage x2 : v_golden_deagle.mdl + Grenade : 16.000$ *SI POSSIBLE*



Boutique T :

Super Cut : 15.000 dégâts avec un gros coup de cut : 6.000$
Vitesse : 325 : 6.000$
Gravity : 0,150 : 6.000$
HP : +2.000 HP : 5.000$
Super HP : +5.000 HP : 10.000$

Last edited by Masoku; 05-25-2011 at 08:46.
Masoku is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 05-24-2011 , 12:54   Re: Base Builder Shop
#13

Je te fais ça mais, change l'emplacement de ton skins car la il ne marchera pas: l'emplacement que tu me donne c'est le skin par défaut de CS. Et je vais être obligé de passer sur deux pages.
__________________
Kidev is offline
Masoku
Junior Member
Join Date: May 2011
Old 05-24-2011 , 13:59   Re: Base Builder Shop
#14

EDIT
Masoku is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 05-25-2011 , 07:29   Re: Base Builder Shop
#15

Voilà.
Attached Files
File Type: sma Get Plugin or Get Source (bb_shop.sma - 2233 views - 18.4 KB)
__________________
Kidev is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 05-25-2011 , 08:18   Re: Base Builder Shop
#16

PHP Code:
// Super Cut
    
if ( IsPlayer(attacker) && g_bHasSuperKnife[attacker] && is_user_alive(attacker) && inflictor == attacker && get_user_weapon(attacker) == CSW_KNIFE )
    {
        
SetHamParamFloat4damage 77 );
    }
    
    
// M249
    
if ( IsPlayer(attacker) && g_bHasSuperM249[attacker] && is_user_alive(attacker) && inflictor == attacker && get_user_weapon(attacker) == CSW_M249 )
    {
        
SetHamParamFloat4damage );
    }
    
    
// AWP
    
if ( IsPlayer(attacker) && g_bHasSuperAWP[attacker] && is_user_alive(attacker) && inflictor == attacker && get_user_weapon(attacker) == CSW_AWP )
    {
        
SetHamParamFloat4damage );
    }
    
    
// Deagle
    
if ( IsPlayer(attacker) && g_bHasSuperDeagle[attacker] && is_user_alive(attacker) && inflictor == attacker && get_user_weapon(attacker) == CSW_DEAGLE )
    {
        
SetHamParamFloat4damage );
    }
    
    
// Kit
    
if ( IsPlayer(attacker) && g_bHasGunsKit[attacker] && is_user_alive(attacker) && inflictor == attacker 
    
&& ( get_user_weapon(attacker) == CSW_M4A1 || get_user_weapon(attacker) == CSW_DEAGLE ) )
    {
        
SetHamParamFloat4damage );
    } 
-------------->


PHP Code:
if( !IsPlayerattacker ) || !is_user_aliveattacker ) || inflictor != attacker )
    {
        return;
    }
    
// Super Cut
    
if ( g_bHasSuperKnife[attacker] && get_user_weapon(attacker) == CSW_KNIFE )
    {
        
SetHamParamFloat4damage 77 );
    }
    
    
// M249
    
if ( g_bHasSuperM249[attacker] && get_user_weapon(attacker) == CSW_M249 )
    {
        
SetHamParamFloat4damage );
    }
    
    
// AWP
    
if ( g_bHasSuperAWP[attacker] && get_user_weapon(attacker) == CSW_AWP )
    {
        
SetHamParamFloat4damage );
    }
    
    
// Deagle
    
if ( g_bHasSuperDeagle[attacker ] && get_user_weapon(attacker) == CSW_DEAGLE )
    {
        
SetHamParamFloat4damage );
    }
    
    
// Kit
    
if ( g_bHasGunsKit[attacker] && ( ( get_user_weaponattacker ) ) == CSW_M4A1 || CSW_DEAGLE )  )
    {
        
SetHamParamFloat4damage );
    } 
__________________
bboygrun is offline
Masoku
Junior Member
Join Date: May 2011
Old 05-25-2011 , 08:19   Re: Base Builder Shop
#17

EDIT
Masoku is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 05-25-2011 , 08:56   Re: Base Builder Shop
#18

Les prix tu peux les modifier toi même j'ai pas mis des Cvars pour faire joli.
Attached Files
File Type: sma Get Plugin or Get Source (bb_shop.sma - 2030 views - 18.0 KB)
__________________
Kidev is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 05-25-2011 , 09:44   Re: Base Builder Shop
#19

Pour le ShowShop(id) tu devrais utiliser CsTeams: PlayerTeam = cs_get_user_team( id ) .
__________________
bboygrun is offline
Masoku
Junior Member
Join Date: May 2011
Old 05-25-2011 , 10:39   Re: Base Builder Shop
#20

J'arrive pas a tout trouve
Masoku 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 09:10.


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