• randomly extradited 1 weapon, 1 player
    2 replies, posted
How to make that randomly extradited 1 weapon, 1 player? [lua] local noobs = table.Copy(players) table.RemoveByValue(noobs, murderer and IsValid(weapon_weap2) and and IsValid(weapon_weap3)) local weapon_weap1 = table.Random(noobs) if IsValid(weapon_weap1) then weapon_weap1:Give("weapon_weap1") end local weapon_weap2 = table.Random( noobs ) table.RemoveByValue(noobs, murderer and IsValid(weapon_weap3) and and IsValid(weapon_weap1)) if ( team.NumPlayers( 2 ) >= 1 ) then if IsValid(weapon_weap2) then weapon_weap2:Give("weapon_weap2") end end local weapon_weap3 = table.Random( noobs ) table.RemoveByValue(noobs, murderer and IsValid(weapon_weap2) and and IsValid(weapon_weap1)) if ( team.NumPlayers( 2 ) >= 1 ) then if IsValid(Spy) then weapon_weap3:Give("weapon_weap3") end end [/lua]
What are you asking?
Er..? What do you mean..? Im at a complete lost
Sorry, you need to Log In to post a reply to this thread.