Panda Posted December 26, 2014 Posted December 26, 2014 Hello Community, Well i want to make a taser system, i mean when cops can only shoot 2 times with the taser then he have to reload, i mean max shots will be 2 then he can reload if u know what i mean. I'm sure i've to use this : setWeaponProperty But i still don't know how to make it, Need help thanks.
Dealman Posted December 26, 2014 Posted December 26, 2014 Never worked with weapon properties, but try something like this; Server-side function setPropertyOnStart_Handler() setWeaponProperty("colt 45", "poor", "maximum_clip_ammo", 2) end addEventHandler("onResourceStart", resourceRoot, setPropertyOnStart_Handler) If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now