Setting typo
Was checking if kidnap setting is enabled instead of checking arresting setting.
This commit is contained in:
parent
7f46ea3487
commit
02fc0e720f
@ -120,7 +120,7 @@ CMD:taze( playerid, params[ ] )
|
|||||||
|
|
||||||
// event check
|
// event check
|
||||||
#if defined __cloudy_event_system
|
#if defined __cloudy_event_system
|
||||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) )
|
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ARREST ) )
|
||||||
#else
|
#else
|
||||||
if ( IsPlayerInEvent( playerid ) )
|
if ( IsPlayerInEvent( playerid ) )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user