Wiki
Clone wikiEFLC-MP LUA / givePlayerWeapon
Description
Gives the player a weapon
Parameters
Int playerid, Int weaponId, Int ammo
Int weaponId: Weapons list
Int ammo: Amount of ammo to give
Return values
Example
#!lua --Gives the player a SMG with 500 bullets givePlayerWeapon(playerid, 13, 500)
Updated