Ayuda con un plugin
#1
Alguien, me podria decir como ponerle mas sonidos al skull sound?,
Responder
#2
pasa el code. Para ver.
Si no te gusta algo, cámbialo. Si no lo puedes cambiar, cambia la forma en que piensas sobre ello <3
Responder
#3
https://amxmodx-es.com/Thread-Skull-Soun...#pid181708
Responder
#4
(12/06/2018, 07:55 PM)El pirucho XP-007 escribió: Eso dependa...

Ya que hay models (.mdl) que ya esta programado para sonar ese sound.

Otro seria por amxmod, cuando se crea un arma.
Ejemplo:
Código PHP:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define PLUGIN "[CSO] Weapon: Skull-3 (Double Weapon)"
#define VERSION "2014"
#define AUTHOR "Dias Pendragon"

#define DAMAGE_S 54 // 54 for Zombie
#define DAMAGE_D 64 // 62 for Zombie

#define SPEED_S 1.25
#define SPEED_D 0.80

#define CLIP_S 35
#define CLIP_D 70

#define BPAMMO 999

#define CSW_SKULL3S CSW_MP5NAVY
#define CSW_SKULL3D CSW_UMP45
#define weapon_skull3s "weapon_mp5navy"
#define weapon_skull3d "weapon_ump45"

#define TIME_CHANGE 3.0

#define PSPEED_S 240.0
#define PSPEED_D 140.0

#define ANIM_EXT1 "carbine"
#define ANIM_EXT2 "dualpistols_1"

#define WEAPON_CODE 1972

#define MODEL_V "models/VHE_Armas_CSO/v_skull3.mdl"
#define MODEL_V2 "models/VHE_Armas_CSO/v_skull3_2.mdl"
#define MODEL_P "models/VHE_Armas_CSO/p_skull3.mdl"
#define MODEL_P2 "models/VHE_Armas_CSO/p_skull3dual.mdl"
#define MODEL_W "models/VHE_Armas_CSO/w_skull3.mdl"

new const Skull3_Sounds[5][] = 
{
    
"weapons/skull3_shoot.wav",
    
"weapons/skull3_shoot_2.wav",
    
"weapons/skull3_idle.wav",
    
"weapons/skull3_clipin.wav",
    
"weapons/skull3_boltpull.wav"
}

new const 
Skull3_Resources[4][] =
{
    
"sprites/weapon_skull3.txt",
    
"sprites/weapon_skull3_2.txt",
    
"sprites/skull3_hud.spr",
    
"sprites/skull3_ammo.spr"
}

enum
{
    
SKULL3_SINGLE 1,
    
SKULL3_DUAL
}

enum
{
    
ANIM_IDLE 0,
    
ANIM_RELOAD,
    
ANIM_DRAW,
    
ANIM_SHOOT1,
    
ANIM_SHOOT2,
    
ANIM_SHOOT3,
    
ANIM_SWITCH
}

#define TASK_SWITCHING 20141

// MACROS
#define Get_BitVar(%1,%2) (%1 & (1 << (%2 & 31)))
#define Set_BitVar(%1,%2) %1 |= (1 << (%2 & 31))
#define UnSet_BitVar(%1,%2) %1 &= ~(1 << (%2 & 31))

const PRIMARY_WEAPONS_BIT_SUM = (1<<CSW_SCOUT)|(1<<CSW_XM1014)|(1<<CSW_MAC10)|(1<<CSW_MAC10)|(1<<CSW_UMP45)|(1<<CSW_SG550)|(1<<CSW_MAC10)|(1<<CSW_FAMAS)|(1<<CSW_AWP)|(1<<CSW_MP5NAVY)|(1<<CSW_M249)|(1<<CSW_M3)|(1<<CSW_M4A1)|(1<<CSW_TMP)|(1<<CSW_G3SG1)|(1<<CSW_SG552)|(1<<CSW_AK47)|(1<<CSW_P90)

new 
g_Had_Skull3
new g_Skull3_Mode[33], g_Skull3_BPAmmo[33], g_Skull3_Clip[33], g_Skull3_Switchingg_Dropping[33]
new 
g_MsgWeaponListg_MsgCurWeapon
new g_Event_Skull3Sg_Event_Skull3Dg_ShellIdg_SmokePuff_SprId
new Bastard[1012]

public 
plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("CurWeapon""Event_CurWeapon""be""1=1")
    
    
register_forward(FM_UpdateClientData"fw_UpdateClientData_Post"1)    
    
register_forward(FM_PlaybackEvent"fw_PlaybackEvent")    
    
register_forward(FM_SetModel"fw_SetModel")    
    
    
register_touch("skull3""*""fw_Skull3_Touch")
    
register_think("skull3""fw_Skull3_Think")
    
RegisterHam(Ham_Spawn"player""fw_playerspawn"1)
    
RegisterHam(Ham_Item_AddToPlayerweapon_skull3s"fw_Skull3S_AddToPlayer_Post"1)
    
RegisterHam(Ham_Item_AddToPlayerweapon_skull3d"fw_Skull3D_AddToPlayer_Post"1)    
    
RegisterHam(Ham_Item_Deployweapon_skull3s"fw_Skull3S_Deploy_Post"1)
    
RegisterHam(Ham_Item_Deployweapon_skull3d"fw_Skull3D_Deploy_Post"1)
    
RegisterHam(Ham_Item_PostFrameweapon_skull3s"fw_Skull3S_PostFrame")    
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3s"fw_Skull3S_Reload")
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3s"fw_Skull3S_Reload_Post"1)    
    
RegisterHam(Ham_Item_PostFrameweapon_skull3d"fw_Skull3D_PostFrame")    
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3d"fw_Skull3D_Reload")
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3d"fw_Skull3D_Reload_Post"1)        
    
    
RegisterHam(Ham_TraceAttack"worldspawn""fw_TraceAttack_World")
    
RegisterHam(Ham_TraceAttack"player""fw_TraceAttack_Player")        
    
    
g_MsgWeaponList get_user_msgid("WeaponList")
    
g_MsgCurWeapon get_user_msgid("CurWeapon")

    
register_clcmd("drop""CMD_Drop")
    
    
// Weapon Hook
    
register_clcmd("weapon_skull3""Hook_Skull3S")
    
register_clcmd("weapon_skull3_2""Hook_Skull3D")
}
public 
fw_playerspawn(id) {
    if(
is_user_alive(id)) 
        
UnSet_BitVar(g_Had_Skull3id)
}
public 
plugin_natives() 
    
register_native("ze_get_skull""Get_Skull3"1)
    
public 
plugin_precache()
{
    
engfunc(EngFunc_PrecacheModelMODEL_V)
    
engfunc(EngFunc_PrecacheModelMODEL_V2)
    
engfunc(EngFunc_PrecacheModelMODEL_P)
    
engfunc(EngFunc_PrecacheModelMODEL_P2)
    
engfunc(EngFunc_PrecacheModelMODEL_W)
    
    for(new 
0sizeof(Skull3_Sounds); i++)
        
engfunc(EngFunc_PrecacheSoundSkull3_Sounds[i])
        
    for(new 
0sizeof(Skull3_Resources); i++)
    {
        if(
== || == 1engfunc(EngFunc_PrecacheGenericSkull3_Resources[i])
        else 
engfunc(EngFunc_PrecacheModelSkull3_Resources[i])
    }
    
    
g_ShellId engfunc(EngFunc_PrecacheModel"models/pshell.mdl")
    
g_SmokePuff_SprId engfunc(EngFunc_PrecacheModel"sprites/wall_puff1.spr")
    
    
register_forward(FM_PrecacheEvent"fw_PrecacheEvent_Post"1)
}

public 
fw_PrecacheEvent_Post(type, const name[])
{
    if(
equal("events/mp5n.sc"name)) g_Event_Skull3S get_orig_retval()    
    else if(
equal("events/ump45.sc"name)) g_Event_Skull3D get_orig_retval()    
}

public 
Get_Skull3(id)
{
    if(!
is_user_alive(id))    
        return
        
    
drop_weapons(id)
    
    
g_Dropping[id] = 0
    
    Set_BitVar
(g_Had_Skull3id)
    
UnSet_BitVar(g_Skull3_Switchingid)
    
    
g_Skull3_Mode[id] = SKULL3_SINGLE
    g_Skull3_BPAmmo
[id] = BPAMMO
    
    give_item
(idweapon_skull3s)
    
give_item(idweapon_skull3d)
    
    static 
Ent;
    
    
Ent fm_get_user_weapon_entity(idCSW_SKULL3S)
    if(
pev_valid(Ent)) cs_set_weapon_ammo(EntCLIP_S)
    
    
Ent fm_get_user_weapon_entity(idCSW_SKULL3D)
    if(
pev_valid(Ent)) cs_set_weapon_ammo(EntCLIP_D)
    
    
cs_set_user_bpammo(idCSW_SKULL3Sg_Skull3_BPAmmo[id])
    
cs_set_user_bpammo(idCSW_SKULL3Dg_Skull3_BPAmmo[id])
    
    
Update_AmmoHud(idCSW_SKULL3SCLIP_S)


Oh god why Ya te lo explicaron. Lo que tienes que hacer es leer o comparar para que entiendas.

(13/06/2018, 01:06 PM)Saber escribió: pasa el code. Para ver.

Pasa el code para que te explique como.
[Imagen: jrXxqRT.png]
*Maper Del Cstrike* - *Estudiante De Sistema*
(03/09/2018, 08:32 PM)Skylar escribió: Obviamente, no va a hablar con super pro para que le mueva el thread
(04/01/2019, 05:12 PM)Pan Bimbo (? escribió: QUE HICISTE QUE??????? YO QUERIA LA PLACA DE VIDEO PORQUE LA TIRASTE CTM
(15/01/2019, 04:08 AM)FreDDy escribió:
(15/01/2019, 03:45 AM)Hernandez escribió: Qué más dan las palabras si a donde vayas están en tetas protestando sin sentido

No todas salen en tetas y no todas protestan sin sentido. Estás generalizando algo que sólo unas pocas lo hacen a diferencia de las muchas que realmente tienen un motivo para protestar.
(17/01/2019, 12:34 PM)totopizza escribió: el orden de los factores no altera el producto xD
(23/01/2019, 01:10 AM)GoldenCosta escribió:
Cita:E visto que este ZP , ESTA AQUI EN EL FORO PERO NO ES EL ORIGINAL POR QUE? , LE FALTAN MILES DE COSAS ESTA BUGEADO , LE FALTAN CÓDIGOS NI SE IMAGINAN , BUENO EL MOD ESTE SE VENDE POR 70 DOLARES , ACEPTO PAYPAL Y EN PESOS CHILENOS $42.584
ya esta publicado.... y 70 us en arg son 2625,35 pesos... estas loco con esa guita neel mantiene el foro por 2 años
(23/01/2019, 01:17 AM)Skylar escribió:
(22/01/2019, 10:30 PM)el_juan_fail escribió:
(22/01/2019, 10:03 AM)Neeeeeeeeeel.- escribió: Por favor subir las cosas al foro y no links a blogs externos. Solamente en caso de que haya recursos que no se pudiesen subir por un tema de tamaño, poenr un link de descarga directo (tipo mega) de los recursos y subir los plugins y demás archivos livianos al foro.

deberia ponerle en un link mediante el mediafire o mega o link externo lo que sea pero no es bueno dejar cosa agregada sin descargar solo por el blog no se puede se puede bajar el recurso o que haya sido creado disculpa neeeeel. estaba leyendose las reglas u.uMario

Dijiste lo mismo que dijo Neeel!
(27/02/2019, 08:00 PM)Sugisaki escribió:
(27/02/2019, 05:37 PM)Pan Bimbo (? escribió:
(27/02/2019, 12:06 AM)luxor xD escribió: Hola, si precacheo algo en un plugin, no es necesario precachearlo en otro plugin?

Si yo cargo una caja en un camion, mi amigo puede cargar la MISMA caja en el camion?, y no porque ya esta cargada.
[R]ak escribió: Mis conocimientos aumentaron un 500% con este post
(14/03/2019, 10:26 PM)KrR10VnZl escribió: en Venezuela aprendes a ser desde bombas molotov hasta velas, es algo así como supervivencia al desnudo jaja
(18/04/2019, 11:04 PM)Jose88 escribió:
(18/04/2019, 09:55 PM)Hypnotize escribió: arriba marica

papa me va perdonar pero aquí no sale ningún download. solo sale esto

Código PHP:
PDNiños Ratas eviten sacar el autor jaja.
REMOVIDO POR TUTOR Y SLOWHACK
(21/04/2019, 09:38 AM)SHENK! =D escribió: ASDASD

Si nos organizamos cojemos todos.
(11/08/2019, 05:11 PM)Cr3470r escribió: Todo Software es crackeable ... No importa cuantas validaciones hagan, la ventaja siempre la tenemos nosotros ...
(28/07/2015, 09:34 PM)Nazi.- escribió: :ohgodwhy buen aporte

PD: situación sentimental: Sin internetOh god why

Sigue así Proud

(28/02/2020, 12:23 AM)Skylar escribió:
(27/02/2020, 11:28 PM)4evergaming escribió: Ya me puse como autor y lo subi a mi empresa


Abrazos

FIX
Responder
#5
El pirucho XP-007
no tenes ni idea de lo que te pide que tiene que ver un .mod con esto

https://amxmodx-es.com/Thread-Skull-Sounds

Saber
entra aka
https://amxmodx-es.com/Thread-Skull-Soun...#pid181719
Responder
#6
Exclamación 
Cita:Aviso: este comentario va fuera del tema.
Correcion:
Cita:un .mod con esto
Yo dige:
Cita:models (.mdl)

(13/06/2018, 10:03 PM)Saber escribió:
Código PHP:
new SND_PREPARE[] = "Skull_Sounds/gates.wav"
new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav"
//new SND_HEAD[] = "Skull_Sounds/outstand.wav"
new SND_HEAD[][] = 
{
    
"Skull_Sounds/outstand.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
}

//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav"
new SND_KNIFE[][] = 
{
    
"Skull_Sounds/NoLlores.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
}
new 
SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav"
new SND_SUICIDE[][] = 
{
    
"Skull_Sounds/mhaha.wav",
    
"Skull_Sounds/mkscorplaugh.wav",
    
"Skull_Sounds/mksklaugh.wav",
    
"Skull_Sounds/mkstdanger.wav"
}
new 
SND_3K[] = "Skull_Sounds/alleasy.wav"
new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav"
new SND_6K[] = "Skull_Sounds/notiembles.wav"
new SND_8K[] = "Skull_Sounds/tremenda.wav"
new SND_10K[] = "Skull_Sounds/ninas.wav"
new SND_12K[] = "Skull_Sounds/notienesvida.wav"
new SND_14K[] = "Skull_Sounds/madura.wav"
new SND_15K[] = "Skull_Sounds/bala.wav"
new SND_16K[] = "Skull_Sounds/te_rebuelco.wav"
new SND_18K[] = "Skull_Sounds/animality.wav" 

en esta parte, agregas los sonidos nuevos, busca en que evento quieres agregarlo,

aqui:
Código PHP:
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" asi estaba antes
new SND_KNIFE[][] = 
{
    
"Skull_Sounds/NoLlores.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
    
//donde dice nuevo_sonido.wav agrega el nombre de tu sonido y este se agregara cuando mates con KNIFE (CUCHILLO) asi con head y tal.


con el headshot es igual busca la linea del head
Código PHP:
//new SND_HEAD[] = "Skull_Sounds/outstand.wav" asi estaba antes
new SND_HEAD[][] = 
{
    
"Skull_Sounds/outstand.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
  
/* asi te lo dejo renga, haz lo mismo que con el Knife. Mas facil no te lo pudo dejar, nadamas de agregarle el nombre del sonido*\


Edit:Olvide ponerlo en PHP Roflmao

Ya saber le explico como.
Responder
#7
(13/06/2018, 03:41 PM)El pirucho XP-007 escribió:
(12/06/2018, 07:55 PM)El pirucho XP-007 escribió: Eso dependa...

Ya que hay models (.mdl) que ya esta programado para sonar ese sound.

Otro seria por amxmod, cuando se crea un arma.
Ejemplo:
Código PHP:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define PLUGIN "[CSO] Weapon: Skull-3 (Double Weapon)"
#define VERSION "2014"
#define AUTHOR "Dias Pendragon"

#define DAMAGE_S 54 // 54 for Zombie
#define DAMAGE_D 64 // 62 for Zombie

#define SPEED_S 1.25
#define SPEED_D 0.80

#define CLIP_S 35
#define CLIP_D 70

#define BPAMMO 999

#define CSW_SKULL3S CSW_MP5NAVY
#define CSW_SKULL3D CSW_UMP45
#define weapon_skull3s "weapon_mp5navy"
#define weapon_skull3d "weapon_ump45"

#define TIME_CHANGE 3.0

#define PSPEED_S 240.0
#define PSPEED_D 140.0

#define ANIM_EXT1 "carbine"
#define ANIM_EXT2 "dualpistols_1"

#define WEAPON_CODE 1972

#define MODEL_V "models/VHE_Armas_CSO/v_skull3.mdl"
#define MODEL_V2 "models/VHE_Armas_CSO/v_skull3_2.mdl"
#define MODEL_P "models/VHE_Armas_CSO/p_skull3.mdl"
#define MODEL_P2 "models/VHE_Armas_CSO/p_skull3dual.mdl"
#define MODEL_W "models/VHE_Armas_CSO/w_skull3.mdl"

new const Skull3_Sounds[5][] = 
{
    
"weapons/skull3_shoot.wav",
    
"weapons/skull3_shoot_2.wav",
    
"weapons/skull3_idle.wav",
    
"weapons/skull3_clipin.wav",
    
"weapons/skull3_boltpull.wav"
}

new const 
Skull3_Resources[4][] =
{
    
"sprites/weapon_skull3.txt",
    
"sprites/weapon_skull3_2.txt",
    
"sprites/skull3_hud.spr",
    
"sprites/skull3_ammo.spr"
}

enum
{
    
SKULL3_SINGLE 1,
    
SKULL3_DUAL
}

enum
{
    
ANIM_IDLE 0,
    
ANIM_RELOAD,
    
ANIM_DRAW,
    
ANIM_SHOOT1,
    
ANIM_SHOOT2,
    
ANIM_SHOOT3,
    
ANIM_SWITCH
}

#define TASK_SWITCHING 20141

// MACROS
#define Get_BitVar(%1,%2) (%1 & (1 << (%2 & 31)))
#define Set_BitVar(%1,%2) %1 |= (1 << (%2 & 31))
#define UnSet_BitVar(%1,%2) %1 &= ~(1 << (%2 & 31))

const PRIMARY_WEAPONS_BIT_SUM = (1<<CSW_SCOUT)|(1<<CSW_XM1014)|(1<<CSW_MAC10)|(1<<CSW_MAC10)|(1<<CSW_UMP45)|(1<<CSW_SG550)|(1<<CSW_MAC10)|(1<<CSW_FAMAS)|(1<<CSW_AWP)|(1<<CSW_MP5NAVY)|(1<<CSW_M249)|(1<<CSW_M3)|(1<<CSW_M4A1)|(1<<CSW_TMP)|(1<<CSW_G3SG1)|(1<<CSW_SG552)|(1<<CSW_AK47)|(1<<CSW_P90)

new 
g_Had_Skull3
new g_Skull3_Mode[33], g_Skull3_BPAmmo[33], g_Skull3_Clip[33], g_Skull3_Switchingg_Dropping[33]
new 
g_MsgWeaponListg_MsgCurWeapon
new g_Event_Skull3Sg_Event_Skull3Dg_ShellIdg_SmokePuff_SprId
new Bastard[1012]

public 
plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("CurWeapon""Event_CurWeapon""be""1=1")
    
    
register_forward(FM_UpdateClientData"fw_UpdateClientData_Post"1)    
    
register_forward(FM_PlaybackEvent"fw_PlaybackEvent")    
    
register_forward(FM_SetModel"fw_SetModel")    
    
    
register_touch("skull3""*""fw_Skull3_Touch")
    
register_think("skull3""fw_Skull3_Think")
    
RegisterHam(Ham_Spawn"player""fw_playerspawn"1)
    
RegisterHam(Ham_Item_AddToPlayerweapon_skull3s"fw_Skull3S_AddToPlayer_Post"1)
    
RegisterHam(Ham_Item_AddToPlayerweapon_skull3d"fw_Skull3D_AddToPlayer_Post"1)    
    
RegisterHam(Ham_Item_Deployweapon_skull3s"fw_Skull3S_Deploy_Post"1)
    
RegisterHam(Ham_Item_Deployweapon_skull3d"fw_Skull3D_Deploy_Post"1)
    
RegisterHam(Ham_Item_PostFrameweapon_skull3s"fw_Skull3S_PostFrame")    
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3s"fw_Skull3S_Reload")
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3s"fw_Skull3S_Reload_Post"1)    
    
RegisterHam(Ham_Item_PostFrameweapon_skull3d"fw_Skull3D_PostFrame")    
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3d"fw_Skull3D_Reload")
    
RegisterHam(Ham_Weapon_Reloadweapon_skull3d"fw_Skull3D_Reload_Post"1)        
    
    
RegisterHam(Ham_TraceAttack"worldspawn""fw_TraceAttack_World")
    
RegisterHam(Ham_TraceAttack"player""fw_TraceAttack_Player")        
    
    
g_MsgWeaponList get_user_msgid("WeaponList")
    
g_MsgCurWeapon get_user_msgid("CurWeapon")

    
register_clcmd("drop""CMD_Drop")
    
    
// Weapon Hook
    
register_clcmd("weapon_skull3""Hook_Skull3S")
    
register_clcmd("weapon_skull3_2""Hook_Skull3D")
}
public 
fw_playerspawn(id) {
    if(
is_user_alive(id)) 
        
UnSet_BitVar(g_Had_Skull3id)
}
public 
plugin_natives() 
    
register_native("ze_get_skull""Get_Skull3"1)
    
public 
plugin_precache()
{
    
engfunc(EngFunc_PrecacheModelMODEL_V)
    
engfunc(EngFunc_PrecacheModelMODEL_V2)
    
engfunc(EngFunc_PrecacheModelMODEL_P)
    
engfunc(EngFunc_PrecacheModelMODEL_P2)
    
engfunc(EngFunc_PrecacheModelMODEL_W)
    
    for(new 
0sizeof(Skull3_Sounds); i++)
        
engfunc(EngFunc_PrecacheSoundSkull3_Sounds[i])
        
    for(new 
0sizeof(Skull3_Resources); i++)
    {
        if(
== || == 1engfunc(EngFunc_PrecacheGenericSkull3_Resources[i])
        else 
engfunc(EngFunc_PrecacheModelSkull3_Resources[i])
    }
    
    
g_ShellId engfunc(EngFunc_PrecacheModel"models/pshell.mdl")
    
g_SmokePuff_SprId engfunc(EngFunc_PrecacheModel"sprites/wall_puff1.spr")
    
    
register_forward(FM_PrecacheEvent"fw_PrecacheEvent_Post"1)
}

public 
fw_PrecacheEvent_Post(type, const name[])
{
    if(
equal("events/mp5n.sc"name)) g_Event_Skull3S get_orig_retval()    
    else if(
equal("events/ump45.sc"name)) g_Event_Skull3D get_orig_retval()    
}

public 
Get_Skull3(id)
{
    if(!
is_user_alive(id))    
        return
        
    
drop_weapons(id)
    
    
g_Dropping[id] = 0
    
    Set_BitVar
(g_Had_Skull3id)
    
UnSet_BitVar(g_Skull3_Switchingid)
    
    
g_Skull3_Mode[id] = SKULL3_SINGLE
    g_Skull3_BPAmmo
[id] = BPAMMO
    
    give_item
(idweapon_skull3s)
    
give_item(idweapon_skull3d)
    
    static 
Ent;
    
    
Ent fm_get_user_weapon_entity(idCSW_SKULL3S)
    if(
pev_valid(Ent)) cs_set_weapon_ammo(EntCLIP_S)
    
    
Ent fm_get_user_weapon_entity(idCSW_SKULL3D)
    if(
pev_valid(Ent)) cs_set_weapon_ammo(EntCLIP_D)
    
    
cs_set_user_bpammo(idCSW_SKULL3Sg_Skull3_BPAmmo[id])
    
cs_set_user_bpammo(idCSW_SKULL3Dg_Skull3_BPAmmo[id])
    
    
Update_AmmoHud(idCSW_SKULL3SCLIP_S)


Oh god why Ya te lo explicaron. Lo que tienes que hacer es leer o comparar para que entiendas.

(13/06/2018, 01:06 PM)Saber escribió: pasa el code. Para ver.

Pasa el code para que te explique como.

(14/06/2018, 12:25 PM)El pirucho XP-007 escribió:
Cita:Aviso: este comentario va fuera del tema.
Correcion:
Cita:un .mod con esto
Yo dige:
Cita:models (.mdl)

(13/06/2018, 10:03 PM)Saber escribió:
Código PHP:
new SND_PREPARE[] = "Skull_Sounds/gates.wav"
new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav"
//new SND_HEAD[] = "Skull_Sounds/outstand.wav"
new SND_HEAD[][] = 
{
    
"Skull_Sounds/outstand.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
}

//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav"
new SND_KNIFE[][] = 
{
    
"Skull_Sounds/NoLlores.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
}
new 
SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav"
new SND_SUICIDE[][] = 
{
    
"Skull_Sounds/mhaha.wav",
    
"Skull_Sounds/mkscorplaugh.wav",
    
"Skull_Sounds/mksklaugh.wav",
    
"Skull_Sounds/mkstdanger.wav"
}
new 
SND_3K[] = "Skull_Sounds/alleasy.wav"
new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav"
new SND_6K[] = "Skull_Sounds/notiembles.wav"
new SND_8K[] = "Skull_Sounds/tremenda.wav"
new SND_10K[] = "Skull_Sounds/ninas.wav"
new SND_12K[] = "Skull_Sounds/notienesvida.wav"
new SND_14K[] = "Skull_Sounds/madura.wav"
new SND_15K[] = "Skull_Sounds/bala.wav"
new SND_16K[] = "Skull_Sounds/te_rebuelco.wav"
new SND_18K[] = "Skull_Sounds/animality.wav" 

en esta parte, agregas los sonidos nuevos, busca en que evento quieres agregarlo,

aqui:
Código PHP:
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" asi estaba antes
new SND_KNIFE[][] = 
{
    
"Skull_Sounds/NoLlores.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
    
//donde dice nuevo_sonido.wav agrega el nombre de tu sonido y este se agregara cuando mates con KNIFE (CUCHILLO) asi con head y tal.


con el headshot es igual busca la linea del head
Código PHP:
//new SND_HEAD[] = "Skull_Sounds/outstand.wav" asi estaba antes
new SND_HEAD[][] = 
{
    
"Skull_Sounds/outstand.wav",
    
"Skull_Sounds/nuevo_sonido.wav",
    
"Skull_Sounds/nuevo_sonido.wav"
  
/* asi te lo dejo renga, haz lo mismo que con el Knife. Mas facil no te lo pudo dejar, nadamas de agregarle el nombre del sonido*\


Edit:Olvide ponerlo en PHP Roflmao

Ya saber le explico como.


1.- El primer mensaje tuyo, solo lo hiciste para sumar post?? No te lo dire de la manera en que lo dicen los demas A ysi pero si no es sobre el tema, no comentes, estas sumando post innecesario

2.-El comentario de renga esta bien, te esta corrigiendo, talvez no te lo dijo de la mejor manera, pero si estas asiendo algo mal, trata de abstenerte de andar a la defensiva.

3.-Tu tercer comentario es igual, sumando post, si ya el tema tiene su solucion publicada. Para que postear??


ahora, estas corrigiendo a renga, que puso en vez de model(mdl) coloco .mod entonces si no te gusta que te corrigan, para que corriges??

Vuelvo y te repito, todo te lo digo de la mejor manera para que no saques mal entendimiento del mensaje Whatever. Aunque este fuera de tema, solo te aviso.
Si no te gusta algo, cámbialo. Si no lo puedes cambiar, cambia la forma en que piensas sobre ello <3
Responder
#8
(14/06/2018, 01:28 PM)Saber escribió: 1.- El primer mensaje tuyo, solo lo hiciste para sumar post?? No te lo dire de la manera en que lo dicen los demas A ysi pero si no es sobre el tema, no comentes, estas sumando post innecesario

2.-El comentario de renga esta bien, te esta corrigiendo, talvez no te lo dijo de la mejor manera, pero si estas asiendo algo mal, trata de abstenerte de andar a la defensiva.

3.-Tu tercer comentario es igual, sumando post, si ya el tema tiene su solucion publicada. Para que postear??


ahora, estas corrigiendo a renga, que puso en vez de model(mdl) coloco .mod entonces si no te gusta que te corrigan, para que corriges??

Vuelvo y te repito, todo te lo digo de la mejor manera para que no saques mal entendimiento del mensaje Whatever. Aunque este fuera de tema, solo te aviso.

Hablando de sumar post...

(13/06/2018, 09:55 PM)Saber escribió: Sabes, por lo menos podrias esperar que se termine 1 de tus pedidos para hacer otro? tienes 4 pedidos activos Oh god why

no se solo digo Genius

Whatever
Responder
#9
pirucho XP-007 y Saber los dos lo estan confundiendo mas a Mathias comentan aya comentan aca digo creo para ayudarlo comenten en un solo post porque en la discusiones que hacen lo marean mas Mathias y a la ves suman post

Seber esta bien tu comentario porque matias lo pidio no entendia lo que le yo le comente creo que eso no es sumar post

la ultima no se con que necesidad pirucho XP-007 trae lo que Saber comento en el otro post lo trae aka no entiendo y gracias a ustedes sume 1 post mas Sonrisa
Responder
#10
(14/06/2018, 03:49 PM)Lucass_BTO escribió:
(14/06/2018, 01:28 PM)Saber escribió: 1.- El primer mensaje tuyo, solo lo hiciste para sumar post?? No te lo dire de la manera en que lo dicen los demas A ysi pero si no es sobre el tema, no comentes, estas sumando post innecesario

2.-El comentario de renga esta bien, te esta corrigiendo, talvez no te lo dijo de la mejor manera, pero si estas asiendo algo mal, trata de abstenerte de andar a la defensiva.

3.-Tu tercer comentario es igual, sumando post, si ya el tema tiene su solucion publicada. Para que postear??


ahora, estas corrigiendo a renga, que puso en vez de model(mdl) coloco .mod entonces si no te gusta que te corrigan, para que corriges??

Vuelvo y te repito, todo te lo digo de la mejor manera para que no saques mal entendimiento del mensaje Whatever. Aunque este fuera de tema, solo te aviso.

Hablando de sumar post...

(13/06/2018, 09:55 PM)Saber escribió: Sabes, por lo menos podrias esperar que se termine 1 de tus pedidos para hacer otro? tienes 4 pedidos activos Oh god why

no se solo digo Genius

Whatever

Hablando de sumar post...

Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)