Posts: 123
Threads: 36
Joined: Jan 2010
Reputation:
0
Hey, is there a callback or something so I can disable this?
Posts: 395
Threads: 118
Joined: Jan 2010
Reputation:
0
dont think so mybe you could block that shotgun only idea i have but i dont no how to do that.
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Use OnPlayerStateChange and check if vehicle which the player entered is the police ranger with GetVehicleModel. If it is, then use GivePlayerWeapon(playerid, shotgunid, negative value of the ammo you get if you enter a police ranger)
Posts: 123
Threads: 36
Joined: Jan 2010
Reputation:
0
Well thanks but I made it in a timer.
Very simple. If a player got a gun with less then 10 ammo and more then 0 ammo it get removed.
Because all my guns are on 99999 or 0