Reply To: Tests for FreeRide
Home / Forums / Modders Corner / Mafia Scene Modders / eXistenZ34’s Mods / Tests for FreeRide / Reply To: Tests for FreeRide
I searched “HasName” in all LUA script inside sds file, “vitohouseb12”, “vitoa3shop”, “vitoa1” … .
in “svetlo.lua” for all E-Key Switch.
in “ControlFlat.lua” it’s for E-Key “Refrigerator” & “Sleep”. ok for sleep
if l_3_1:HasName(“E_Postel”)then game.game:SaveGame(6)
endDelayBuffer:Insert(function(l_1_0)Bed=game.entitywrapper:GetEntityByName(“T_Postel”)Bed:Activate()Bed:RegisterToMessages(guid)AcBed=game.game:CreateScriptActorAction(Bed,Math:newVector(),2,”E_Postel”,””)end,{l_1_0},100,1,false)
active E-Key “Sleep” for all apartment, you can make a script longer than game.game:SaveGame(6)
it’s just for test.
[img]//i46.tinypic.com/2q8q0w1.jpg&key=1cacc1b406a0940928ab6ba4ec6e36f38faa24eb1b11650e60194cc8cd27934c[/img]
in “Phone.lua” for tel not tested
but for example I have not found for lift in Chinese Restaurant or Empire Arms Hotel and it annoys me a lot.
