Login to ZARP





View BBCode Back »



Suggestion Title:
Fix The Holster Exploit

How would it benefit the server:
As of right now once you equip a weapon you have zero ammo and are forced to reload. In some cases weapons will not work since they cant reload so therefor can not be fired. This fix will solve the issues with this problem as well as the un-needed reload upon equip.

My solution to this is to do these actions:
Once a weapon is equipped it will have full ammo
Once holstered a variable with the amount of ammo will be stored 
Once re-equipped the variable will be used to give the ammo you holstered 
it with
If a death is occurred then the variable is reset and the weapon is reset to 
full ammo

This will continue to solve the problem of holster-exploiting as well as remove the useless no ammo upon equip.

Potential Issues/Exploits:
This may cause lag since each user will have a unique variable for each individual gun.

Additional notes:
Feedback is useful.
I am not a coder so my 'Pseudo code' isn't the greatest. However you should get the right idea.

BBCode


Time to create page: 0.073 seconds

228 PLAYERS ONLINE

Connect to server View Gametracker DarkRP
7/127
Online
Connect to server View Gametracker Deathrun
0/40
Online
Connect to server View Gametracker TTT
0/47
Online
Connect to server View Gametracker Bhop
2/32
Online
Connect to server View Gametracker Surf
0/32
Online
Connect to server View Gametracker Prop Hunt
0/42
Online
Connect to server View Gametracker Sandbox
0/42
Online
Connect to server Discord
219/957
Online
Top