dobrograd-13-06-2022/garrysmod/addons/_config/lua/config/cars/mech.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

16 lines
464 B
Lua

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,
})