Update jail.pwn
This commit is contained in:
parent
41fedbd2cb
commit
bfa237c5e4
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user