Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
Hello!
I have simple question:
Is this possible to set ammo in the current magazine of a player? If yes, what is the function?
Thanks for any answer!
Posts: 969
Threads: 26
Joined: Jan 2016
Reputation:
0
GetPlayerWeaponData and store ammo and GivePlayerWeapon with ammo+ammount
Posts: 969
Threads: 26
Joined: Jan 2016
Reputation:
0
But when player shoot magazine ammo will be different?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You said to set the number of ammo in a magazine, let's say m4 has 1 magazine = 50 bullets. Is what you want to set let's say half of the bullets in a magazine which makes it 25 bullets? If not, can you give an example of what you are looking for because it is kind of confusing?
Posts: 694
Threads: 2
Joined: Oct 2012
Reputation:
0
If you mean make a player have for example 10/50 bullets with 200 outside the magazine, as far as I know it's not possible (maybe with YSI and faking player shot packets? I haven't worked with that so it might be possible there)
but setting ammo less than a magazine always affects the current magazine.