PDA

View Full Version : How to delete weapons in map?



STAUFFi
11th May 2013, 17:46
273
Hi
I upload today new deathrunmaps for killtube but i have a questions.
on the new maps
mp_baxdr
mp_runnersend
are weapons for the runners.
How i can delete it??

Earliboy
11th May 2013, 18:31
I'm not sure if its weapon_NAME (May someone else could complete it then ;D)
but then it should be:



delWeapon("weapon_thompson");
delWeapon("weapon_mp44");

delWeapon(ent)
{
ent = getEntArray(ent, "classname");
for(i = 0; i < ent.size; i++)
ent[i] delete();
}

serthy
11th May 2013, 19:15
i GUESS it was "weapon_" + weaponName like:
"weapon_mp44_mp"

Earliboy
11th May 2013, 22:02
model name = weapon_NAME
item name = NAME_mp
classname = weapon_NAME_mp