SA:MP Lua [LUA] Weapons Menu

Niourozi

Новичок
Автор темы
20
24
Версия SA-MP
  1. Любая
Gives you a weapon selector through an ImGui menu. Click any weapon button to equip it.


Includes a bypass that blocks server weapon removal and damage events. While active, it sends weapon ID 0 in sync packets so the server doesn't see your weapon. Auto-disables on disconnect, kick or ban, and clears all weapons.


Usage: /weapons — opens and closes the menu.


Features
  • Weapon grid with icon buttons and tooltips
  • Bypass — blocks ResetPlayerWeapons, GiveDamage, ClientCheck and related RPCs
  • Sends weapon 0 in sync to hide weapon from server
  • Auto-disables and clears weapons on disconnect / kick / ban

Requirements

Update 1.1
added ammo selector, when you click a weapon it now shows a sub-panel where you can choose how much ammo you want with a slider.
also added more bypass methods, works on most servers depending on their anticheat.

Author: Niourozi
 

Вложения

  • Weapons Menu.lua
    27.2 KB · Просмотры: 69
  • Weapons Menu (1.1).lua
    35.2 KB · Просмотры: 36
Последнее редактирование:
  • Грустно
  • Нравится
Реакции: агадада и Corenale

Tultras

Известный
11
2
No menu appears when I type /weapons maybe incompatible for 0.3DL
 
Последнее редактирование:

Niourozi

Новичок
Автор темы
20
24
install requirement! MoonLoader/lib/gtasaweapons.lua


Код:
[23:42:21.659858] (system)    Loading script "D:\Rockstar Games\GTA San Andreas\moonloader\Weapons Menu.lua"...    (id:3)
[23:42:21.670987] (error)    Weapons Menu: ...ckstar Games\GTA San Andreas\moonloader\Weapons Menu.lua:9: module 'gtasaweapons' not found:
    no field package.preload['gtasaweapons']
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\libstd\gtasaweapons.lua'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\libstd\gtasaweapons\init.lua'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\lib\gtasaweapons.lua'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\lib\gtasaweapons.luac'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\lib\gtasaweapons\init.lua'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\lib\gtasaweapons\init.luac'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\libstd\gtasaweapons.dll'
    no file 'D:\Rockstar Games\GTA San Andreas\moonloader\lib\gtasaweapons.dll'
stack traceback:
    [C]: in function 'require'
    ...ckstar Games\GTA San Andreas\moonloader\Weapons Menu.lua:9: in main chunk
[23:42:21.670987] (error)    Weapons Menu: Script died due to an error. (id:3)
[23:42:21.672389] (system)    gtasaweapons.lua: Script terminated. (id:2)
 

zxc2345qwert

Новичок
7
1
Can you explain how to use it, I'm just dumb, I open the script menu, use bypass, and I get kicked off the server, can I explain?
 

Owner Nexa

Участник
85
42
 
  • Нравится
Реакции: elyrin

Tultras

Известный
11
2
nice works ty You should add an option to choose the amount of ammo, because 9999 isn't realistic... lol
Capture d'écran 2026-06-04 135847.png
 
  • Нравится
Реакции: Niourozi и user1241