Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mafia II mods => Topic started by: Director on June 03, 2012, 10:04:38 AM

Title: Change your player model at any time and anywhere
Post by: Director on June 03, 2012, 10:04:38 AM
Change your player model with only one lua button at any time and anywhere.




Total of 12 different models.





100% working, just not in the car.  
(//wp-content/uploads/invision_emoticons/biggrin.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">  See in the video.


 




http://www.youtube.com/watch?v=45aD1MC1XWo (http://www.youtube.com/watch?v=45aD1MC1XWo)


 


 




<div class="ipsSpoiler_header">



ply=game.game:GetActivePlayer()




if i==nil then i=0 end i=i+1 if i==13+1 then i=1 end




DelayBuffer:Insert(function(l_1_0)if i==1 then game.game:ChangePlayerModel("vitarmy")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==2 then game.game:ChangePlayerModel("vitksl2")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i=(//smile3.gif) then game.game:ChangePlayerModel("vitnah_t")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==4 then game.game:ChangePlayerModel("vitoveral")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==5 then game.game:ChangePlayerModel("vitspo")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==6 then game.game:ChangePlayerModel("vittel")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==7 then game.game:ChangePlayerModel("vitukl")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==8 then game.game:ChangePlayerModel("vitvez")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==9 then game.game:ChangePlayerModel("vitvop")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==10 then game.game:ChangePlayerModel("vitvov")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==11 then game.game:ChangePlayerModel("vitvov2i")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==12 then game.game:ChangePlayerModel("vitvov3")end end,{l_1_0},250,1,false)




</div>

 
Title: Change your player model at any time and anywhere
Post by: Mafioso on June 03, 2012, 12:14:04 PM
If we are being chased by the police, will this take out the  condition?? <img src="/emoticons/huh.png.04e12a04934075c5a1e0c618a726c4d9.png" alt=" :huh: " data-emoticon="">
Title: Change your player model at any time and anywhere
Post by: Director on June 03, 2012, 12:49:36 PM
Not, still you wanted.  (//wp-content/uploads/invision_emoticons/wacko.png)
Title: Change your player model at any time and anywhere
Post by: eXistenZ34 on June 03, 2012, 01:09:34 PM
Mafioso


 




it's just a change of Skin, for the game you always have the same clothes.


 




Director




you like this command "SetControlStyle", but once again completely useless.


 




Look here:




http] (//forum/14-mafia-mod-request/8334-multiple-models-under-one-script#8341)