Thread
:
Weapon Max Shot Distance
View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
10-19-2011 , 19:25 Re: Weapon Max Shot Distance
#
16
That's something you will do one time in the plugin_init for example.
You work with memory address. You need to loop using the method from the link (2 first line in plugin_init) with all the weapon, and for each weapon replacing the default distance with the cvar value.
Well, will show you a basic example tomorrow, since you don't know much about orpheu, better to show you a concrete example. Plus you need to know the default distance for all weapons.
__________________
Arkshine
View Public Profile
Send a private message to Arkshine
Find More Posts by Arkshine