Merge pull request #42 from meCloudy/event-settings-fix
Event settings fix
This commit is contained in:
commit
787384727a
@ -366,7 +366,7 @@ stock CreateLoopingAnimation( playerid, animlib[ ], animname[ ], Float:Speed, lo
|
||||
{
|
||||
// event check
|
||||
#if defined __cloudy_event_system
|
||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) )
|
||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ANIM ) )
|
||||
#else
|
||||
if ( IsPlayerInEvent( playerid ) )
|
||||
#endif
|
||||
|
@ -122,7 +122,7 @@ CMD:taze( playerid, params[ ] )
|
||||
|
||||
// event check
|
||||
#if defined __cloudy_event_system
|
||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) )
|
||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ARREST ) )
|
||||
#else
|
||||
if ( IsPlayerInEvent( playerid ) )
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user