fix cloudy merge potential issue

This commit is contained in:
Lorenc Pekaj 2019-05-31 19:24:56 +10:00
parent e2a3744b3e
commit 33de4b0722

View File

@ -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 );