STEAM GROUP
Rayman1103's Mutation Mod Group RMMG
STEAM GROUP
Rayman1103's Mutation Mod Group RMMG
32
IN-GAME
238
ONLINE
Founded
6 November, 2010
阿叶 14 Sep, 2017 @ 1:24am
Code problem for help
Hello, how to modify the code to give a single player weapon?:steamfacepalm:

The code in pvp_base.nut

local function GiveRandomWeapon( args )
{
//Give each survivor a random weapon
foreach (survivor in Players.AliveSurvivors())
{
local randWep = Utils.GetRandValueFromArray(ListOfRandomWeps);
survivor.Give(randWep);
}
}