I'm looking for a long time a bind that when the m4a1 has 3 ammo and when you press R the m4a1 will have 30 instantly without spend ammo and without spending time reloading. But on each gun.
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Fast Reload Bind
11 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
I'm looking for a long time a bind that when the m4a1 has 3 ammo and when you press R the m4a1 will have 30 instantly without spend ammo and without spending time reloading. But on each gun.
![file](img/i_file.png)
![cs2d](img/icons/cs2d.png)
This file above may cover your needs. And to not spend all your rest of the ammunition use
![cs2d cmd](img/i_codehelp.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
Just download "The Darkness 2D" 100% promised no ban!
Admin/mod comment
![Rules](img/v_illegal.png)
I wanna that it works as a bind... How can I do that?
PD: When you join to server you can't quick-reload. you must put the bind on the console.
Look:
Both 'equip' and 'setweapon' are serversided commands so you as a client in the server can't access them. It's NOT possible.
![user](img/i_friend.png)
If that's the case, if you are the server, here's the script:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
addhook("say", "triggDis", -99999) function triggDis(id, text) 	if text == "!quickReload" then 		parse("equip "..id.." "..player(id, "weapontype")) 		parse("setweapon "..id.." "..player(id, "weapontype")) 		return 1 	end end -- Optional (Tell the players to bind) elapsedMinutes = 0 addhook("minute", "bindTip") function bindTip() 	elapsedMinutes = elapsedMinutes + 1 	if elapsedMinutes >= 3 and #player(0, "tableliving") > 0 then 		msg("\169000255000Type \169255255255/bind \"r\" \"say !quickReload\" \169000255000 for quick reloading!") 		elapsedMinutes = 0 	end end
It is untested. my scripts tend to fail the first time they're executed because I always tend forget something
EDIT: And just as I said, I forgot to do something... Reload the actual weapon O.O Ugh, it's updated now.
![user](img/i_friend.png)
![user](img/i_friend.png)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)