Results 1 to 4 of 4

Thread: How to delete weapons in map?

  1. #1
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts

    How to delete weapons in map?

    Click image for larger version. 

Name:	1356136.PNG 
Views:	31 
Size:	1.05 MB 
ID:	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??

  2. #2
    Private First Class Earliboy's Avatar
    Join Date
    Nov 2012
    Location
    Germany
    Posts
    130
    Thanks
    5
    Thanked 88 Times in 61 Posts
    I'm not sure if its weapon_NAME (May someone else could complete it then ;D)
    but then it should be:

    PHP Code:
    delWeapon("weapon_thompson");
    delWeapon("weapon_mp44");

    delWeapon(ent)
    {
          
    ent getEntArray(ent"classname");
          for(
    0ent.sizei++)
                
    ent[idelete();

    No ... No ... this is not possible .......

  3. The Following User Says Thank You to Earliboy For This Useful Post:

    kung foo man (11th May 2013)

  4. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    i GUESS it was "weapon_" + weaponName like:
    "weapon_mp44_mp"

  5. The Following User Says Thank You to serthy For This Useful Post:

    kung foo man (12th May 2013)

  6. #4
    Private First Class Earliboy's Avatar
    Join Date
    Nov 2012
    Location
    Germany
    Posts
    130
    Thanks
    5
    Thanked 88 Times in 61 Posts
    model name = weapon_NAME
    item name = NAME_mp
    classname = weapon_NAME_mp
    No ... No ... this is not possible .......

  7. The Following 2 Users Say Thank You to Earliboy For This Useful Post:

    kung foo man (12th May 2013),serthy (12th May 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •