server gifts.SetBlockPositiveEffect(string gift, @bool@ isBlocked)
Description
Grants the player a positive gift effect.
Arguments
1string gift
- The effect's name.
2boolean isBlocked
- Will the effect be blocked?
Example
Disable the shotgun and the gravity gun from dropping.
lua
gifts.SetBlockPositiveEffect("oldshotgun", true)
gifts.SetBlockPositiveEffect("gravity_gun", true)