RE: Speed Fire 2.0 works well in the server roleplay
It wasn't really a hard mod to make, you can just get list of shooting anims and use the function "at <float> times_normal_rate ".
Anybody can make this mod (even a CLEO noob like me).
Adjustable version of it (comes with an .ini where you can edit the anims speed to 0.5, 1.0, etc).
Put both the Speedfire-2.0.cs and config.cfg on CLEO folder, otherwise it wouldn't work.
PHP:
// Cleo By Hieu Daica FB: https://www.facebook.com/MinhHieuCiute
{$CLEO .cs}
//-------------MAIN---------------
thread "speedfive"
:INI //OUR CHECK LABEL
wait 0
if
0AAB: file_exists "CLEO\config.ini" // this will check if config.ini is in cleo folder
jf @INI // if not then it will jump to ":INI" to loop again
0AF2: 0@ = get_float_from_ini_file "cleo\config.ini" section "speed" key "shootingSpeed"
0AF0: 1@ = get_int_from_ini_file "CLEO\config.ini" section "ACTIVATE" key "ACTIVATION" //2
jump @speedfive_78 //THE MAIN LABEL SCRIPT
:speedfive_78
wait 0
if
0AB0: key_pressed 1@
jf @speedfive_78
0ACD: show_text_highpriority "~G~Speedfire 2.0 By Hieu Daica: ON" time 1000
018C: play_sound 1139 at 0.0 0.0 0.0
wait 1000
jump @speedfive_153
:speedfive_153
wait 0
if
8AB0: not key_pressed 1@
jf @speedfive_981
0393: actor $PLAYER_ACTOR perform_animation "python_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_fire_poor" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "buddy_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "buddy_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "buddy_fire_poor" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "2guns_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire_2hands" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire_poor" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire_poor" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "SilenceCrouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "Silence_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "TEC_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "TEC_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "UZI_crouchfire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "UZI_fire" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "UZI_fire_poor" at 0@ times_normal_rate
jump @speedfive_153
:speedfive_981
0ACD: show_text_highpriority "~R~Speedfire 2.0 By Hieu Daica: OFF" time 3000
018C: play_sound 1139 at 0.0 0.0 0.0
wait 228
jump @speedfive_78