jaillist fix
This commit is contained in:
parent
f3544de066
commit
ddd1cf38e8
@ -4469,7 +4469,7 @@ CMD:jaillist( playerid, params[ ] )
|
|||||||
szBigString[ 0 ] = '\0';
|
szBigString[ 0 ] = '\0';
|
||||||
|
|
||||||
foreach( new i : Player ) if ( IsPlayerJailed( i ) ) {
|
foreach( new i : Player ) if ( IsPlayerJailed( i ) ) {
|
||||||
format( szBigString, sizeof( szBigString ), "%s%s%s(%d)\t%d seconds", szBigString, p_AdminJailed{ i } ? ( COL_RED ) : ( COL_WHITE ), ReturnPlayerName( i ), i, p_JailTime[ i ] );
|
format( szBigString, sizeof( szBigString ), "%s%s%s(%d)\t%d seconds\n", szBigString, p_AdminJailed{ i } ? ( COL_RED ) : ( COL_WHITE ), ReturnPlayerName( i ), i, p_JailTime[ i ] );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( szBigString[ 0 ] == '\0' ) {
|
if ( szBigString[ 0 ] == '\0' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user