6,834
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = giveWeapon | ||
|side = client | |||
|type = method | |type = method | ||
|class = Ped | |class = Ped | ||
| | |games = iii vc sa iv | ||
| | |desc = give a weapon to the ped | ||
| | |arg1 = int weapon The weapon ID to give to the ped. | ||
| | |arg2 = int ammunition The amount of ammunition for the weapon. | ||
| | |arg3 = [bool setAsCurrent = false] Whether to change the current weapon slot for the ped to the specified weapon's slot. | ||
| | |return = void | ||
|freturn = void | |||
| | |||
}} | }} |
edits