Announcement

If you are having trouble logging in, please reset your password.
If that does not work, please use the "Contact Us" to contact an admin.

#30 December 17, 2011, 04:40:12 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
I just made a video what shows some animations (in this video this two what is on first page)









<div></div>

#31 December 17, 2011, 05:05:10 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteI have not tested everything,

but what I can tell you it's always start with "in" and end with "out" when possible


 




sc_newspaper_in




...




sc_newspaper_out


 




I have not found all the animation



 




I see. Yes, I know about "in" and "out". And some played anims, are freezing and unfreezing. E.g. "shovel" - Vito begin to clean snow, than anim freezes for 10 seconds and than anim unfreezes, and goes on.


 




And one more question:




What these numbers mean?


 







<pre class="ipsCode">ply=game.game:GetActivePlayer()

ply:SetControlStyle(enums.ControlStyle.LOCKED)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_in", false)end,{l_1_0},<b>500</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},<b>18000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},<b>22000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_d", false)end,{l_1_0},<b>29000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_out", false)end,{l_1_0},<b>33000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},<b>40000</b>,1,false)</pre>

#32 December 17, 2011, 05:17:39 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
The numbers indicate the delay length between animations.


 




For example this animation is 18 seconds long


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false</pre>






 




After 22 seconds the next animation will play.


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)</pre>






 




That animation is 22 seconds long.

#33 December 17, 2011, 05:22:43 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
These are delay in milliseconds


 




This function allows you to execute a command after a certain time


 




DelayBuffer:Insert(function(l_1_0)....end,{l_1_0},22000,1,false)


 




and the "1" for repeat the commande


 


 




<div class="ipsSpoiler_header">



Quote<div>



in fisrt




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




after 500 milliseconds active the command




ply:AnimPlay("sc_man_smoke_in", false)




after 18000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_b", false)




after 22000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_c", false)




after 29000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_d", false)




after 33000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_out", false)




after 40000 milliseconds active the command




ply:SetControlStyle(enums.ControlStyle.FREE)








 


</div>

</div>

 


 


 




Tommy, you were faster

#34 December 17, 2011, 05:26:33 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Vito makes a smoke break




Version 3 Clic (you can move between the click)


 


 









<div></div>

#35 December 17, 2011, 06:08:40 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteThe numbers indicate the delay length between animations. 




For example this animation is 18 seconds long


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false</pre>

<div>




 




After 18 seconds the next animation will play.


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)</pre>






 




That animation is 22 seconds long.


</div>

 


 







QuoteThese are delay in milliseconds 




This function allows you to execute a command after a certain time


 




DelayBuffer:Insert(function(l_1_0)....end,{l_1_0},22000,1,false)


 




and the "1" for repeat the commande





Thanks for explanation.


 




And:




Why other anims are hang for 5-10 seconds, when I play them?

#36 December 17, 2011, 06:18:24 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Why other anims are hang for 5-10 seconds, when I play them?


 




I don't know

#37 December 17, 2011, 06:20:57 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteWhy other anims are hang for 5-10 seconds' date=' when I play them?[/quote']

The DelayBuffer does not effect the duration of the animation.


 




It is used to tell the next animation when to start.


 




You only need to use it with multiple animations.



#38 December 17, 2011, 06:26:03 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
thank you tommy sometimes I don't understand what I'm told.


 




I'm not very good in English, I often use a translator.

#39 December 17, 2011, 06:38:37 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
No problem man.


 




I'm not as good as you when it comes to figuring out this LUA stuff but i try to help when i know something.

#40 December 17, 2011, 08:14:27 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Thanks for explanation, mates.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">




Would you mind, if I ask you for some help next time?   <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">


 







QuoteI'm not very good in English' date=' I often use a translator.[/quote']

Me too. I rely on my knowledge of English language. But sometimes I use a translator.




I tell it to you that you disregard my grammar mistakes.



#41 December 17, 2011, 11:30:23 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Hi,i have problem,i copy smoking script to my freeride,but game not activate,




what key on keyboard activate script ?




i dont use injector


 




and ply i can replace to player ? if i put ply,game cant loading

#42 December 17, 2011, 11:57:29 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest

#43 December 18, 2011, 01:15:44 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
i cant use without injector ?




i use injector and my game crash if i activate script

#44 December 18, 2011, 01:23:54 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Test with injector is v6


 




http://www.multiupload.com/GMFMRAXMFV


 




and copy script in F1 or F2 .... Or F12 in the folder "userscript"