I have one extra weapon that i really like to add to a survivor but I dont know how... The version that I used is ZPA.
Code:
public plugin_precache()
{
engfunc(EngFunc_PrecacheModel, V_MODEL)
engfunc(EngFunc_PrecacheModel, P_MODEL)
engfunc(EngFunc_PrecacheModel, W_MODEL)
new i
for(i = 0; i < sizeof(WeaponSounds); i++)
engfunc(EngFunc_PrecacheSound, WeaponSounds[i])
for(i = 0; i < sizeof(WeaponResources); i++)
{
if(i == 1) engfunc(EngFunc_PrecacheGeneric, WeaponResources[i])
else engfunc(EngFunc_PrecacheModel, WeaponResources[i])
}
register_forward(FM_PrecacheEvent, "fw_PrecacheEvent_Post", 1)
g_smokepuff_id = engfunc(EngFunc_PrecacheModel, "sprites/wall_puff1.spr")
g_balrog11 = zp_register_extra_item("Balrog-XI", 25,ZP_TEAM_SURVIVOR)
}
thanks for helping!