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




Fast Reload Bind
11 replies



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.


This file above may cover your needs. And to not spend all your rest of the ammunition use




Just download "The Darkness 2D" 100% promised no ban!
Admin/mod comment

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.

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.





