Update jail.pwn

This commit is contained in:
Cloudy 2019-05-29 17:34:54 +03:00 committed by GitHub
parent 41fedbd2cb
commit bfa237c5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,6 +264,7 @@ stock JailPlayer( playerid, seconds, admin = 0 )
p_DetainedLabel [ playerid ] = Text3D: INVALID_3DTEXT_ID;
p_DetainedBy [ playerid ] = INVALID_PLAYER_ID;
RemovePlayerFromEvent ( playerid, true );
CancelEdit ( playerid );
RemovePlayerStolensFromHands( playerid );
StopPlayerUsingSlotMachine ( playerid );
@ -541,4 +542,4 @@ stock jailDoors( playerid, remove = false, set_closed = true )
DestroyDynamicObject( p_AlcatrazObject[ playerid ] ), p_AlcatrazObject[ playerid ] = INVALID_OBJECT_ID;
}
}
}