remove "sscanf_u" in some modules that it was not removed from
This commit is contained in:
parent
7ea55e0743
commit
6e79b82423
@ -329,7 +329,7 @@ CMD:logdialog( playerid, params[ ] )
|
||||
{
|
||||
if ( !IsPlayerAdmin( playerid ) ) return 0;
|
||||
g_DialogLogging = !g_DialogLogging;
|
||||
SendClientMessageFormatted( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" You are %s dialogs.", g_CommandLogging == true ? ("logging") : ("not logging"));
|
||||
SendClientMessageFormatted( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" You are %s dialogs.", g_DialogLogging == true ? ("logging") : ("not logging"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -551,7 +551,7 @@ CMD:h( playerid, params[ ] )
|
||||
|
||||
if ( ID == -1 ) return SendError( playerid, "You're not in any house." );
|
||||
else if ( !strmatch( g_houseData[ ID ] [ E_OWNER ], ReturnPlayerName( playerid ) ) ) return SendError( playerid, "You are not the owner of this house." );
|
||||
else if ( sscanf( params[ 6 ],""#sscanf_u"d", offerid, price ) ) return SendUsage( playerid, "/h offer [PLAYER_ID] [PRICE]" );
|
||||
else if ( sscanf( params[ 6 ], "ud", offerid, price ) ) return SendUsage( playerid, "/h offer [PLAYER_ID] [PRICE]" );
|
||||
else if ( !IsPlayerConnected( offerid ) ) return SendError( playerid, "This player is not connected." );
|
||||
else if ( offerid == playerid ) return SendError( playerid, "You cannot make a house offer to yourself." );
|
||||
else if ( price > 30000000 ) return SendError( playerid, "The maximum amount you can sell a house for is $30,000,000." );
|
||||
|
@ -569,7 +569,7 @@ CMD:paintball( playerid, params[ ] )
|
||||
}
|
||||
else if ( !strcmp( params, "kick", false, 4 ) )
|
||||
{
|
||||
if ( sscanf( params[ 5 ], #sscanf_u, pID ) ) return SendUsage( playerid, "/paintball kick [PLAYER_ID]" );
|
||||
if ( sscanf( params[ 5 ], "u", pID ) ) return SendUsage( playerid, "/paintball kick [PLAYER_ID]" );
|
||||
else if ( !IsPlayerConnected( pID ) ) return SendError( playerid, "This player is not connected." );
|
||||
else if ( !IsPlayerInPaintBall( pID ) ) return SendError( playerid, "This player is not in paintball." );
|
||||
else if ( p_PaintBallArena{ pID } != id ) return SendError( playerid, "This player is not in your paintball lobby." );
|
||||
@ -583,7 +583,7 @@ CMD:paintball( playerid, params[ ] )
|
||||
}
|
||||
else if ( !strcmp( params, "leader", false, 6 ) )
|
||||
{
|
||||
if ( sscanf( params[ 7 ], #sscanf_u, pID ) ) return SendUsage( playerid, "/paintball paintball [PLAYER_ID]" );
|
||||
if ( sscanf( params[ 7 ], "u", pID ) ) return SendUsage( playerid, "/paintball paintball [PLAYER_ID]" );
|
||||
else if ( !IsPlayerConnected( pID ) ) return SendError( playerid, "This player is not connected." );
|
||||
else if ( !IsPlayerInPaintBall( pID ) ) return SendError( playerid, "This player is not in paintball." );
|
||||
else if ( p_PaintBallArena{ pID } != id ) return SendError( playerid, "This player is not in your paintball lobby." );
|
||||
|
Loading…
Reference in New Issue
Block a user