Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local basemodule = {}
- basemodule.GUI = Libs["GUI"]
- function basemodule.unload()
- end
- function basemodule.giveWeapon(weapon)
- WEAPON.GIVE_DELAYED_WEAPON_TO_PED(PLAYER.PLAYER_PED_ID(), GAMEPLAY.GET_HASH_KEY(weapon), 1000, true)
- end
- function basemodule.init()
- basemodule.GUI.addButton("Give Me RAILGUN",basemodule.giveWeapon,"WEAPON_RAILGUN",0,0.2,0.05,0.05)
- end
- function basemodule.tick()
- basemodule.GUI.tick()
- end
- return basemodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement