Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
when i'm swithcing weapons they are auto reloading... how can i block it?
Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
i'm sure i can. i just don't know how. but i saw servers that did it.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
You would have to rewrite the ammo system. Just give the player one full clip at once, store the real total ammo in a variable. Everytime the player reloads (make a callback with GetPlayerWeaponState) give him a full clip, and decrease the ammo variable. You could use e.g. a TextDraw to show the ammo left.
Cant think of another way to do this atm.
Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
i don't really remember (i searched in the internet tab)...
are you sure that there is no way to do that?
Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
Use wacko's callback "OnPlayerWeaponChange(playerid, newweapon, oldweapon)" and save it as Mauzen said...