15.07.2011, 08:12
(
Last edited by leong124; 15/07/2011 at 10:25 AM.
)
If you have a weapon, and use GivePlayerWeapon to give a weapon, that has the same slot as your weapon, with 0 bullet to yourself, your weapon will be set to the number of bullets of the new weapon.
For example:
For example:
- A player has a desert eagle with 100 bullets
- The server gives a 9mm to him with 0 bullet by GivePlayerWeapon
- The player finds that he has no pistols, since the 100 bullets are ignored, and the 0 bullet from 9mm is counted
- A player has a desert eagle with 100 bullets
- The server gives a 9mm to him with 10 bullet by GivePlayerWeapon
- The player finds that he has only 10 bullet, since the 100 bullets are ignored, and the 10 bullets from 9mm is counted