Merge pull request #42 from meCloudy/event-settings-fix

Event settings fix
This commit is contained in:
Lorenc Pekaj 2019-06-14 10:07:49 +10:00 committed by GitHub
commit 787384727a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ stock CreateLoopingAnimation( playerid, animlib[ ], animname[ ], Float:Speed, lo
{ {
// 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_ANIM ) )
#else #else
if ( IsPlayerInEvent( playerid ) ) if ( IsPlayerInEvent( playerid ) )
#endif #endif

View File

@ -122,7 +122,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