|
RegisterHam(Ham_Killed, "player", "fw_Killed")
RegisterHam(Ham_Spawn, "weapon_g3sg1", "fw_Spawn_Post", 1)
RegisterHam(Ham_Item_PostFrame, "weapon_g3sg1", "fw_Item_PostFrame")
RegisterHam(Ham_Item_AttachToPlayer, "weapon_g3sg1", "fw_Item_AttachToPlayer_Post", 1)
RegisterHam(Ham_Weapon_PrimaryAttack, "weapon_g3sg1", "fw_Weapon_PrimaryAttack")
RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_g3sg1", "fw_Weapon_SecondaryAttack")
g_cvarDefaulGive = register_cvar("svdex_defaultgive", "8")
g_cvarChangeModeTime = register_cvar("svdex_changemodetime", "1.85")
g_cvarGrenadeOffset[0] = register_cvar("svdex_grenade_offset_x", "0")
g_cvarGrenadeOffset[1] = register_cvar("svdex_grenade_offset_y", "0")
g_cvarGrenadeOffset[2] = register_cvar("svdex_grenade_offset_z", "0")
g_cvarGrenadeSpeed = register_cvar("svdex_grenade_speed", "500")
g_cvarGrenadeGravity = register_cvar("svdex_grenade_gravity", "0.2")
g_cvarGrenadeRadius = register_cvar("svdex_grenade_radius", "100")
g_cvarGrenadeDamage = register_cvar("svdex_grenade_damage", "100")
g_cvarGrenadeReward = register_cvar("svdex_grenade_reward", "300")
g_cvarGrenadeTail = register_cvar("svdex_grenadetail", "1")
g_cvarGrenadeTailColor[0] = register_cvar("svdex_grenadetail_color_r", "255")
g_cvarGrenadeTailColor[1] = register_cvar("svdex_grenadetail_color_g", "255")
g_cvarGrenadeTailColor[2] = register_cvar("svdex_grenadetail_color_b", "255")
|
|