ChillDog said:
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): CounterScroll.cs
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): http://www.gtagarage.com/mods/show.php?id=15597
3. What do you want (the most important part, explain this carefully): Basically its change weapon slot with numbers like the cleo mod of gtagarage, the problem, its too slow, it to be instaneous, hate being scrolling all time.
4. Details (add more details to your request):nothing more, just that, i have no idea how to do a cleo mod but i think its not too hard with that base that i give u.
5. Need On/off key or command ?: for sure! from 1 to the last key that u need for the last slot, (i want only numbers from upside of the keyboard, not numberpad shit please♥)
6. Give any picture or video: unnecesary but if you want... [font=Verdana, Arial, Helvetica, sans-serif]
PD: DELETE THAT FK ANIM THAT THEY GIVE LOL, I DONT WANT ANIMS JUST CHANGE MY WEAPONS
Oh fuck.. i Didnt saw the cleo that i give u from gtagare.com cant open... shit...
[shcode=cpp]
{$CLEO .cs}
//-------------MAIN---------------
04ED: load_animation "weapc"
:Noname_9
84EE: not animation "weapc" loaded
jf @Noname_36
wait 0
goto @Noname_9
:Noname_36
if
0AAB: file_exists "CLEO\WSIV_by_DK22Pac.cs"
jf @Noname_88
goto @Noname_2407
goto @Noname_99
:Noname_88
0ACA: show_text_box "ERROR"
0A93: end_custom_thread
:Noname_99
if
0@ == 48
jf @Noname_193
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 0
82D8: not actor $PLAYER_ACTOR current_weapon == 1
jf @Noname_179
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 1 weapon 25@ ammo 26@ model 27@
24@ = 1
goto @Noname_1928
goto @Noname_193
:Noname_179
24@ = 0
goto @Noname_1928
:Noname_193
if
0@ == 49
jf @Noname_400
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 2
82D8: not actor $PLAYER_ACTOR current_weapon == 3
82D8: not actor $PLAYER_ACTOR current_weapon == 4
82D8: not actor $PLAYER_ACTOR current_weapon == 5
82D8: not actor $PLAYER_ACTOR current_weapon == 6
82D8: not actor $PLAYER_ACTOR current_weapon == 7
82D8: not actor $PLAYER_ACTOR current_weapon == 8
jf @Noname_386
if
82D8: not actor $PLAYER_ACTOR current_weapon == 9
jf @Noname_365
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 2 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_344
24@ = 1
goto @Noname_1928
goto @Noname_358
:Noname_344
24@ = 0
goto @Noname_1928
:Noname_358
goto @Noname_379
:Noname_365
24@ = 0
goto @Noname_1928
:Noname_379
goto @Noname_400
:Noname_386
24@ = 0
goto @Noname_1928
:Noname_400
if
0@ == 50
jf @Noname_540
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 22
82D8: not actor $PLAYER_ACTOR current_weapon == 23
82D8: not actor $PLAYER_ACTOR current_weapon == 24
jf @Noname_526
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 3 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_505
24@ = 1
goto @Noname_1928
goto @Noname_519
:Noname_505
24@ = 0
goto @Noname_1928
:Noname_519
goto @Noname_540
:Noname_526
24@ = 0
goto @Noname_1928
:Noname_540
if
0@ == 51
jf @Noname_680
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 25
82D8: not actor $PLAYER_ACTOR current_weapon == 26
82D8: not actor $PLAYER_ACTOR current_weapon == 27
jf @Noname_666
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 4 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_645
24@ = 1
goto @Noname_1928
goto @Noname_659
:Noname_645
24@ = 0
goto @Noname_1928
:Noname_659
goto @Noname_680
:Noname_666
24@ = 0
goto @Noname_1928
:Noname_680
if
0@ == 52
jf @Noname_820
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 28
82D8: not actor $PLAYER_ACTOR current_weapon == 29
82D8: not actor $PLAYER_ACTOR current_weapon == 32
jf @Noname_806
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 5 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_785
24@ = 1
goto @Noname_1928
goto @Noname_799
:Noname_785
24@ = 0
goto @Noname_1928
:Noname_799
goto @Noname_820
:Noname_806
24@ = 0
goto @Noname_1928
:Noname_820
if
0@ == 53
jf @Noname_953
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 30
82D8: not actor $PLAYER_ACTOR current_weapon == 31
jf @Noname_939
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 6 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_918
24@ = 1
goto @Noname_1928
goto @Noname_932
:Noname_918
24@ = 0
goto @Noname_1928
:Noname_932
goto @Noname_953
:Noname_939
24@ = 0
goto @Noname_1928
:Noname_953
if
0@ == 54
jf @Noname_1086
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 33
82D8: not actor $PLAYER_ACTOR current_weapon == 34
jf @Noname_1072
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 7 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1051
24@ = 1
goto @Noname_1928
goto @Noname_1065
:Noname_1051
24@ = 0
goto @Noname_1928
:Noname_1065
goto @Noname_1086
:Noname_1072
24@ = 0
goto @Noname_1928
:Noname_1086
if
0@ == 55
jf @Noname_1233
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 35
82D8: not actor $PLAYER_ACTOR current_weapon == 36
82D8: not actor $PLAYER_ACTOR current_weapon == 37
82D8: not actor $PLAYER_ACTOR current_weapon == 38
jf @Noname_1219
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 8 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1198
24@ = 1
goto @Noname_1928
goto @Noname_1212
:Noname_1198
24@ = 0
goto @Noname_1928
:Noname_1212
goto @Noname_1233
:Noname_1219
24@ = 0
goto @Noname_1928
:Noname_1233
if
0@ == 56
jf @Noname_1359
if
82D8: not actor $PLAYER_ACTOR current_weapon == 39
jf @Noname_1345
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 9 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1324
24@ = 1
goto @Noname_1928
goto @Noname_1338
:Noname_1324
24@ = 0
goto @Noname_1928
:Noname_1338
goto @Noname_1359
:Noname_1345
24@ = 0
goto @Noname_1928
:Noname_1359
if
0@ == 57
jf @Noname_1499
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 41
82D8: not actor $PLAYER_ACTOR current_weapon == 42
82D8: not actor $PLAYER_ACTOR current_weapon == 43
jf @Noname_1485
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 10 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1464
24@ = 1
goto @Noname_1928
goto @Noname_1478
:Noname_1464
24@ = 0
goto @Noname_1928
:Noname_1478
goto @Noname_1499
:Noname_1485
24@ = 0
goto @Noname_1928
:Noname_1499
if
0@ == 189
jf @Noname_1661
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 10
82D8: not actor $PLAYER_ACTOR current_weapon == 11
82D8: not actor $PLAYER_ACTOR current_weapon == 12
82D8: not actor $PLAYER_ACTOR current_weapon == 13
82D8: not actor $PLAYER_ACTOR current_weapon == 14
82D8: not actor $PLAYER_ACTOR current_weapon == 15
jf @Noname_1647
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 11 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1626
24@ = 1
goto @Noname_1928
goto @Noname_1640
:Noname_1626
24@ = 0
goto @Noname_1928
:Noname_1640
goto @Noname_1661
:Noname_1647
24@ = 0
goto @Noname_1928
:Noname_1661
if
0@ == 187
jf @Noname_1802
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 44
82D8: not actor $PLAYER_ACTOR current_weapon == 45
82D8: not actor $PLAYER_ACTOR current_weapon == 46
jf @Noname_1788
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 12 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1767
24@ = 1
goto @Noname_1928
goto @Noname_1781
:Noname_1767
24@ = 0
goto @Noname_1928
:Noname_1781
goto @Noname_1802
:Noname_1788
24@ = 0
goto @Noname_1928
:Noname_1802
if
0@ == 8
jf @Noname_1928
if
82D8: not actor $PLAYER_ACTOR current_weapon == 40
jf @Noname_1914
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 13 weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_1893
24@ = 1
goto @Noname_1928
goto @Noname_1907
:Noname_1893
24@ = 0
goto @Noname_1928
:Noname_1907
goto @Noname_1928
:Noname_1914
24@ = 0
goto @Noname_1928
:Noname_1928
ret 2 24@ 25@
:Noname_1939
if and
82D8: not actor $PLAYER_ACTOR current_weapon == 0
82D8: not actor $PLAYER_ACTOR current_weapon == 1
jf @Noname_1979
23@ = 1
ret 1 23@
:Noname_1979
24@ = 1
:Noname_1986
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 24@ weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_2036
23@ = 1
ret 1 23@
:Noname_2036
24@ += 1
24@ > 13
jf @Noname_1986
23@ = 0
ret 1 23@
:Noname_2072
0@ += 1
0A8E: 1@ = 0@ + 12 // int
0085: 2@ = 0@ // (int)
:Noname_2097
0085: 3@ = 2@ // (int)
if
3@ > 12
jf @Noname_2130
3@ -= 13
:Noname_2130
if
3@ == 0
jf @Noname_2155
ret 1 0
:Noname_2155
3@ += 1
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 3@ weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_2205
ret 1 25@
:Noname_2205
2@ += 1
001D: 2@ > 1@ // (int)
jf @Noname_2097
:Noname_2227
0@ -= 1
if
0@ == 0
jf @Noname_2259
ret 1 0
:Noname_2259
0A8F: 1@ = 0@ - 12 // int
0085: 2@ = 0@ // (int)
:Noname_2277
0085: 3@ = 2@ // (int)
if
not 3@ >= 0
jf @Noname_2310
3@ += 13
:Noname_2310
if
3@ == 0
jf @Noname_2335
ret 1 0
:Noname_2335
3@ += 1
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 3@ weapon 25@ ammo 26@ model 27@
if
27@ > 0
jf @Noname_2385
ret 1 25@
:Noname_2385
2@ -= 1
001D: 1@ > 2@ // (int)
jf @Noname_2277
:Noname_2407
31@ = 1
:Noname_2414
wait 0
if
0ADC: test_cheat "COPYRIGHT"
jf @Noname_2523
if
88FE: not text_box_displayed
jf @Noname_2523
0ACA: show_text_box "IV Weapon Scroll Mod. Made by NIaNM & DK22Pac. Vol-GTA.com, 2011"
:Noname_2523
if
856D: not actor $PLAYER_ACTOR defined
jf @Noname_2546
goto @Noname_3270
:Noname_2546
0992: set_player 0 weapons_scrollable 0
22@ = 48
:Noname_2559
if
key_down 22@
jf @Noname_2589
23@ = 1
goto @Noname_2610
:Noname_2589
22@ += 1
22@ > 57
jf @Noname_2559
:Noname_2610
if
key_down 8
jf @Noname_2639
22@ = 8
23@ = 1
:Noname_2639
if
key_down 187
jf @Noname_2670
22@ = 187
23@ = 1
:Noname_2670
if
key_down 189
jf @Noname_2701
22@ = 189
23@ = 1
:Noname_2701
if
23@ == 1
jf @Noname_2777
23@ = 0
call @Noname_99 1 22@ 24@ 25@
if
not 24@ == 0
jf @Noname_2777
24@ = 0
goto @Noname_2978
:Noname_2777
if
00E1: player 0 pressed_key 5
jf @Noname_2801
22@ = 5
:Noname_2801
if
00E1: player 0 pressed_key 7
jf @Noname_2825
22@ = 7
:Noname_2825
if or
22@ == 5
22@ == 7
jf @Noname_3202
if
not Actor.Animation($PLAYER_ACTOR) == "switch"
jf @Noname_3195
call @Noname_1939 0 28@
if
28@ == 1
jf @Noname_3181
0470: 30@ = actor $PLAYER_ACTOR current_weapon
0782: get_weapon_with_ID 30@ weapon_group_to 29@
if
22@ == 5
jf @Noname_2962
call @Noname_2227 1 29@ 25@
goto @Noname_2978
:Noname_2962
call @Noname_2072 1 29@ 25@
:Noname_2978
22@ = 0
if
8597: not actor $PLAYER_ACTOR crouching
jf @Noname_3043
//0A1A: actor $PLAYER_ACTOR perform_walk_animation "switch" IFP "weapc" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 -1 ms // versionC
goto @Noname_3078
:Noname_3043
//0A1A: actor $PLAYER_ACTOR perform_walk_animation "crswit" IFP "weapc" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 -1 ms // versionC
:Noname_3078
082A: set_player 0 able_to_use_crouch_button 0
0881: set_player 0 able_to_shoot_weapons 0
0901: enable_player 0 jump_key 0
31@ = 1
32@ = 0
22@ = 0
:Noname_3117
not 32@ >= 600
jf @Noname_3166
if
856D: not actor $PLAYER_ACTOR defined
jf @Noname_3155
goto @Noname_2407
:Noname_3155
wait 0
goto @Noname_3117
:Noname_3166
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 25@
goto @Noname_3188
:Noname_3181
22@ = 0
:Noname_3188
goto @Noname_3202
:Noname_3195
22@ = 0
:Noname_3202
if
31@ == 1
jf @Noname_3270
082A: set_player 0 able_to_use_crouch_button 1
0881: set_player 0 able_to_shoot_weapons 1
0901: enable_player 0 jump_key 1
31@ += 1
if
31@ > 10
jf @Noname_3270
31@ = 10
:Noname_3270
goto @Noname_2414
[/shcode]