dobrograd-13-06-2022/garrysmod/addons/_config/lua/config/cars/mech.lua

17 lines
464 B
Lua
Raw Normal View History

2023-11-16 15:01:19 +05:00
carDealer.addCategory('mech', {
name = 'Механики',
icon = octolib.icons.silk16('wrench'),
canUse = function(ply) return ply:Team() == TEAM_MECH, 'Доступно только механикам' end,
spawns = carDealer.civilSpawns,
spawnCheck = carDealer.limits.mech,
limitGroup = 'mech',
})
carDealer.addVeh('towtruck', {
category = 'mech',
name = 'Tow Truck',
simfphysID = 'sim_fphys_gta4_bobcat_towtruck',
price = 30000,
deposit = true,
})