#define EFFECT_NORMAL 0
#define EFFECT_RARE 1
#define EFFECT_ULTRA_RARE 2
#define is_user_valid(%1) (1 <= %1 <= get_maxplayers() && is_user_alive(%1) && is_user_connected(%1))
// The rarity os valculated the following way:
// value <= EFFECT_NORMAL_PERCENT - Normal Effect
// EFFECT_NORMAL_PERCENT+1 <= value <= EFFECT_RARE_PERCENT - Rare Effect
// value >= EFFECT_RARE_PERCENT + 1 - Ultra Rare Effect
#define EFFECT_NORMAL_PERCENT 80
#define EFFECT_RARE_PERCENT 95
#define EFFECT_ULTRA_RARE_PERCENT 100
native rtdc_register_effect(const szEffectMethod[128], const szEffectName[128], const effectRarity)