init
This commit is contained in:
commit
09c8dc53f2
12
client/client.lua
Normal file
12
client/client.lua
Normal file
@ -0,0 +1,12 @@
|
||||
CreateThread(function()
|
||||
local ped = PlayerPedId()
|
||||
while true do
|
||||
if IsControlJustPressed(0, 24) and Config.WeaponList[GetSelectedPedWeapon(ped)] then
|
||||
while IsControlPressed(0, 24) or IsDisabledControlPressed(0, 24) do
|
||||
DisablePlayerFiring(PlayerId(), true)
|
||||
Wait(0)
|
||||
end
|
||||
end
|
||||
Wait(0)
|
||||
end
|
||||
end)
|
3
config.lua
Normal file
3
config.lua
Normal file
@ -0,0 +1,3 @@
|
||||
Config.WeaponList = {
|
||||
[`weapon_hkump`] = true,
|
||||
}
|
19
fxmanifest.lua
Normal file
19
fxmanifest.lua
Normal file
@ -0,0 +1,19 @@
|
||||
Description 'Vehicle Showcase Script | Nemesis Gaming Development'
|
||||
author 'deluce#9077'
|
||||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
|
||||
shared_scripts {
|
||||
"config.lua",
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'client/*.lua',
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
"config.lua",
|
||||
"README.md",
|
||||
}
|
||||
|
||||
lua54 'yes'
|
Loading…
Reference in New Issue
Block a user