Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FACTION.name = "Маньяк"
- FACTION.description = "Башенная гнида."
- FACTION.color = Color(150, 125, 100, 255)
- FACTION.isDefault = true -- Дефолт профессия или нет
- function FACTION:OnCharacterCreated(client, character)
- local id = Schema:ZeroNumber(math.random(1, 99999), 5) -- Выдается ему случайный ИД
- local inventory = character:GetInventory() -- Получает инвентарь
- character:SetData("cid", id) -- Присваевыем предмету cid ид игрока полученного выше
- inventory:Add("suitcase", 1) -- Выдаем какой-то предмет
- inventory:Add("cid", 1, { -- Выдаем сид карту
- name = character:GetName(),
- id = id
- })
- end
- FACTION_KILLER = FACTION.index
Add Comment
Please, Sign In to add comment