GiveWeaponToPlayer
Description
Gives the specified weapon to the player. If show is false, the on-screen prompt for receiving a weapon will not be displayed.
function GiveWeaponToPlayer(weapon, show) --[[ ... ]] end
Parameters
weapon
:integer
- The ID of the weapon to give.show
:boolean
- If false, the on-screen weapon given prompt will not be shown.
Return Values
None.
Example
None.