Mafia Scene - Mafia I & II Game Fan Site
Modders Corner => Mafia Editing => Mafia mods => Topic started by: crazypreacher on November 17, 2011, 12:35:34 AM
dim_act 1
dim_flt 1
getactiveplayer 0
label regen
human_getproperty 0,0, Energy
if flt[0]<100, -1, regen
wait 2000the rate of regeneration
human_getproperty 0,0, Energy
let flt[0]=flt[0]+1
human_setproperty 0,flt[0],Energy
goto regen
_________________________________________________________
Let me know if it worth it for me to translate those from Russian to English
at my age i have the time to do it (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
or making a special page for them
Nice script, I was thinking about something like that for a new project and there it is. (//bigwink.gif)
That would be a killer resource to have!
(took me a while to find this, because I didn't know mafia 1 script was a Lua script, I knew Mafia 2 was but I am done banging my head against that game.)
reference:
i post a link with a bank of LUA script from mafia pub:
http] (//2ixvzfs8)