Пользователь
- Сообщения
- 1
- Реакции
- 0
Hi, how can I give the equipment only to admins with IMMUNITY flag?
I tried this:
I think there's a problem with if condition with mine.
I tried this:
Код:
if(rg_get_user_armor(iIndex, iArmorType) < ARMOR_VALUE || iArmorType != ARMOR_VESTHELM )
//to
if(rg_get_user_armor(iIndex, iArmorType) < ARMOR_VALUE || iArmorType != ARMOR_VESTHELM && if(get_user_flags(iIndex) & ADMIN_IMMUNITY))