fix cloudy merge potential issue
This commit is contained in:
parent
e2a3744b3e
commit
33de4b0722
@ -268,7 +268,6 @@ stock JailPlayer( playerid, seconds, admin = 0 )
|
||||
RemovePlayerStolensFromHands( playerid );
|
||||
StopPlayerUsingSlotMachine ( playerid );
|
||||
RemoveEquippedOre ( playerid );
|
||||
RemovePlayerFromEvent ( playerid, true );
|
||||
ClearPlayerWantedLevel ( playerid );
|
||||
ResetPlayerWeapons ( playerid );
|
||||
UntiePlayer ( playerid );
|
||||
@ -276,6 +275,10 @@ stock JailPlayer( playerid, seconds, admin = 0 )
|
||||
SetPlayerPosToPrison ( playerid );
|
||||
Player_CheckPokerGame ( playerid, "Jailed" );
|
||||
|
||||
#if defined __cloudy_event_system
|
||||
RemovePlayerFromEvent ( playerid, true );
|
||||
#endif
|
||||
|
||||
// External Functions
|
||||
SetPlayerSpecialAction ( playerid, SPECIAL_ACTION_NONE );
|
||||
ClearAnimations ( playerid );
|
||||
|
Loading…
Reference in New Issue
Block a user