Update jail.pwn
Removes player from event upon getting jailed
This commit is contained in:
parent
41fedbd2cb
commit
0af017149f
@ -268,6 +268,7 @@ stock JailPlayer( playerid, seconds, admin = 0 )
|
||||
RemovePlayerStolensFromHands( playerid );
|
||||
StopPlayerUsingSlotMachine ( playerid );
|
||||
RemoveEquippedOre ( playerid );
|
||||
RemovePlayerFromEvent ( playerid, true );
|
||||
ClearPlayerWantedLevel ( playerid );
|
||||
ResetPlayerWeapons ( 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user