Guest Posted February 19, 2008 Posted February 19, 2008 Does anybody know how to write a function that will output all of the guns a player currently has in each of their slots to the console? This needs to be server side function. Currently i can only get one gun id at a time to output to the console, not all of them.
50p Posted February 19, 2008 Posted February 19, 2008 http://development.mtasa.com/index.php? ... ayerWeapon Client-side script would do it easly, but there is no slot param for server-side function. You could do a loop with setPlayerWeaponSlot and getPlayerWeapon, but it'd make player switching through the weapons.
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