Всем доброго время суток. Кто знает как зделать что бы последний кит выдавалса только игроку с флагом?
Вот весь кит.
{
"columns":0,
"command":"kit",
"messages":{
"githelp":"Get your kits! Type /kit to get started",
"redeem":"Kit %kit% redeemed!",
"broadcast":"Get your kits! Type /kit to get started",
"cooldown":"You have to wait %min% minutes and %sec%s seconds for %kit% to be available!",
"received":"Buff! %user% gave you a %kit%!",
"exceeded":"Already redeemed %kit% maximum %amount% times!",
"nokitdefined":"No kit available!",
"nogiveyourself":"You cannot give %kit% yourself!",
"given":"Kit %kit% given to %user%!"
},
"kits":{
"basic":{
"items":["Wood Foundation","Wood Doorway","Wood Ceiling","Metal Door","Bed","Workbench","Furnace","Kevlar Helmet","Kevlar Pants","Kevlar Boots","Kevlar Vest","Supply Signal","M4",{
"amount":3,"item":"Wood Wall"},{"amount":3,"item":"Large Wood Storage"},{"amount":4,"item":"Wood Pillar"},
{"amount":250,"item":"556 Ammo"
}]
"max":2,
"description":"Gives you some comfort (maximum 2 times)!",
"cooldown":1
},
"starter":{
"items":["Hatchet","P250","Leather Helmet","Leather Vest","Leather Pants","Leather Boots",{
"amount":200,"item":"9mm Ammo"},{"amount":5,"item":"Large Medkit"},{"amount":10,"item":"Cooked Chicken Breast"
}],
"max":10000000000,
"description":"Basic things you need! (maximum 10000000000000 times)",
"cooldown":1
},
"vip":{
"vip":true,
"items":["Kevlar Helmet","Kevlar Vest","Kevlar Pants","Kevlar Boots","M4"{"ammount":500,"item":"556 Ammo"},{"amount":15,"item":"Large Medkit"},{"amount":50,"item":"Small Rations"},{"amount":2,"item":"Silencer"},{"amount":2,"item":"Holo sight"},{"amount":5,"item":"Wood Barricade"
}],
"max":1000000000,
"description":"Vip things you need! (maximum 100000000000 times)"
"cooldown":2
}
},
"chatname":"kit "
Нужно изменить /kit vip - помогите пожалусто!