groups = shared.police,
blip = {
id = 110, colour = 84, scale = 0.8
}, inventory = {
{ name = 'ammo-9', price = 5, },
{ name = 'ammo-rifle', price = 5, },
{ name = 'WEAPON_FLASHLIGHT', price = 200 },
{ name = 'WEAPON_NIGHTSTICK', price = 100 },
{ name = 'WEAPON_PISTOL', price = 500, metadata = { registered = true, serial = 'POL' }, license = 'weapon' },
{ name = 'WEAPON_CARBINERIFLE', price = 1000, metadata = { registered = true, serial = 'POL' }, license = 'weapon', grade = 3 },
{ name = 'WEAPON_STUNGUN', price = 500, metadata = { registered = true, serial = 'POL'} }
}, locations = {
vec3(451.51, -979.44, 30.68)
}, targets = {
{ loc = vec3(453.21, -980.03, 30.68), length = 0.5, width = 3.0, heading = 270.0, minZ = 30.5, maxZ = 32.0, distance = 6 }
}
这段代码是一个配置表,包含了警察的组信息、地图显示标记、库存信息、装备位置、目标位置等。 |