diff --git a/DayZ/init/players/login_init.lua b/DayZ/init/players/login_init.lua index 8724a81..1683423 100644 --- a/DayZ/init/players/login_init.lua +++ b/DayZ/init/players/login_init.lua @@ -109,6 +109,8 @@ function playerRegister(username, pass, player) setElementData(player,data[1],2) elseif data[1] =="Painkiller" then setElementData(player,data[1],1) + elseif data[1] == "Flashlight" then + setElementData(player,data[1],1) elseif data[1] == "MAX_Slots" then setElementData(player,data[1],8) elseif data[1] =="Item_Slots" then diff --git a/DayZ/init/players/spawn_init.lua b/DayZ/init/players/spawn_init.lua index 5597ed4..cff15dc 100644 --- a/DayZ/init/players/spawn_init.lua +++ b/DayZ/init/players/spawn_init.lua @@ -45,6 +45,8 @@ function spawnDayZPlayer(player) setElementData(player,data[1],2) elseif data[1] =="Painkiller" then setElementData(player,data[1],1) + elseif data[1] == "Flashlight" then + setElementData(player,data[1],1) elseif data[1] == "MAX_Slots" then setElementData(player,data[1],8) elseif data[1] =="Item_Slots" then