Update jail.pwn

Removes player from event upon getting jailed
This commit is contained in:
Cloudy 2019-05-29 17:38:21 +03:00 committed by GitHub
parent 41fedbd2cb
commit 0af017149f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,7 @@ stock JailPlayer( playerid, seconds, admin = 0 )
RemovePlayerStolensFromHands( playerid ); RemovePlayerStolensFromHands( playerid );
StopPlayerUsingSlotMachine ( playerid ); StopPlayerUsingSlotMachine ( playerid );
RemoveEquippedOre ( playerid ); RemoveEquippedOre ( playerid );
RemovePlayerFromEvent ( playerid, true );
ClearPlayerWantedLevel ( playerid ); ClearPlayerWantedLevel ( playerid );
ResetPlayerWeapons ( playerid ); ResetPlayerWeapons ( playerid );
UntiePlayer ( playerid ); UntiePlayer ( playerid );
@ -541,4 +542,4 @@ stock jailDoors( playerid, remove = false, set_closed = true )
DestroyDynamicObject( p_AlcatrazObject[ playerid ] ), p_AlcatrazObject[ playerid ] = INVALID_OBJECT_ID; DestroyDynamicObject( p_AlcatrazObject[ playerid ] ), p_AlcatrazObject[ playerid ] = INVALID_OBJECT_ID;
} }
} }