Raised This Month: $ Target: $400
 0% 

need 2 litle helping hands :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
drakeris
Senior Member
Join Date: Jul 2009
Old 11-27-2009 , 01:47   need 2 litle helping hands :)
Reply With Quote #1

1. this thing is for zobmie mod and he needs that zombies couldnt pick up items that means T`s wouldnt pick up lol pmed him me too have the same problem with my mod
so if there is such thread someone could help me? to stirip weapons for t`s becouse they can pick them up...
PHP Code:
public undead_powers(id)
{
    
cs_set_user_nvg(id1)
    
engclient_cmd(id"nightvision")
    
strip_user_weapons(id
    
set_pdata_int(idOFFSET_PRIMARYWEAPON0)
    
give_item(id"weapon_knife");
    
set_pev(idpev_viewmodel2"models/um_uknf.mdl");  
    
set_user_health(id800);
    
set_user_maxspeed(id350.0)
    
set_user_gravity (id0.6)
;
}

public 
survivor_power(id)
{
    
strip_user_weapons(id)
    
give_item(id"weapon_knife")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(idCSW_DEAGLE666)
    
give_item(id"weapon_ak47")
    
cs_set_user_bpammo(idCSW_AK47666)
    
give_item(id"weapon_m4a1")
    
cs_set_user_bpammo(idCSW_M4A1666)
    
set_user_health(id150)
    
set_user_armor(id50)

I tried this:
PHP Code:
new bool:g_bIsZombie[33]

public 
plugin_init() {
    
register_event("CurWeapon""cur_weapon""be""1=0""2!29")
}

public 
cur_weapon(id) {
    if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T) {
        if(
g_bIsZombie[id]) {
        
engclient_cmd(id"weapon_knife");
        }
    }
}

public 
undead_powers(id) {
    
g_bIsZombie[id] = true;
    
cs_set_user_nvg(id1)
    
engclient_cmd(id"nightvision")
    
strip_user_weapons(id)
    
set_pdata_int(idOFFSET_PRIMARYWEAPON0)
    
give_item(id"weapon_knife");
    
set_pev(idpev_viewmodel2"models/um_uknf.mdl");  
    
set_user_health(id800)
    
set_user_maxspeed(id350.0)
    
set_user_gravity (id0.6)
}

public 
survivor_power(id) {
    
g_bIsZombie[id] = false;
    
strip_user_weapons(id)
    
give_item(id"weapon_knife")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(idCSW_DEAGLE666)
    
give_item(id"weapon_ak47")
    
cs_set_user_bpammo(idCSW_AK47666)
    
give_item(id"weapon_m4a1")
    
cs_set_user_bpammo(idCSW_M4A1666)
    
set_user_health(id150)
    
set_user_armor(id50)

ddin`t help still they can pick up guns :/
2. how to change coutner terrorist win terrorist win to Surivvors just survived if ts wins it would be zombies eliminated the survivors
drakeris 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 13:41.


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