Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createEntity("entity name", {
- ent = "entity type",
- model = "model",
- price = 1000,
- max = 2,
- cmd = "command",
- Custom Checks
- Job Only Entites -
- allowed = {TEAM_, TEAM_},
- Donor Only Entites -
- customCheck = function(ply) return ply:GetUserGroup() == "donator" end,
- CustomCheckFailMsg = function(ply, entTable) return "You need to be a donator to buy this entity!" end,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement