Files
red-valley/resources/[framework]/[addons]/[kq]/kq_driftsmoke/client/editable.lua

20 lines
446 B
Lua
Raw Normal View History

2026-03-29 21:41:17 +03:00
function IsWhitelisted(vehicle)
for index, value in ipairs(Config.whitelist.vehicles) do
if GetHashKey(value) == GetEntityModel(vehicle) then
return true
end
end
return false
end
if Config.toggleCommands then
RegisterCommand('stopsmoke', function(source, args)
smokeActive = false
end)
RegisterCommand('startsmoke', function(source, args)
smokeActive = true
end)
end