Announcement

Collapse
No announcement yet.

remove weapons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    remove weapons

    Hi does anybody know the command for removing players weapons ??

    thnx in advance

    #2
    i made this command it works for the mostpart but it seems to not remove the shield &/or assault &/or trans

    Comment


      #3
      "Command"? :weird:

      Comment


        #4
        Err f**k i forgot to put it in
        Code:
        function xTakeWeapons(Pawn P)
        {
        	local Inventory Inv;
        	if( P != None )
        	    for(Inv=P.Inventory;Inv!=None;Inv=Inv.Inventory)
        	        if( Inv.IsA('Weapon') )
        	            P.DeleteInventory(Inv);
        }

        Comment


          #5
          roffle


          Thank you very much ill get back to you on how it works out

          Comment

          Working...
          X