Posts: 73
Threads: 27
Joined: Oct 2010
Reputation:
0
Well I want it to set the players ammo to -20 when they get in the car, but whenever I use this function. It does nothing at all. Does anyone know a way to make it so I can set the players ammo to -20 while being the driver of the car?
Posts: 6,129
Threads: 36
Joined: Jan 2009
I'm pretty sure none of the weapon functions except SetPlayerArmedWeapon() work if a player is in a vehicle.
You can set their weapon to 0 (fists) instead, using SetPlayerArmedWeapon().
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Uh? Both statements are exactly the same. There's absolutely no need for all the additional spaces.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Vince
Uh? Both statements are exactly the same. There's absolutely no need for all the additional spaces.
|
Notice the original says 'Weaopn' instead of 'Weapon', but the additional spacing is just excessive and looks horrid.