Merged sync-adjust into master
This commit is contained in:
commit
61597d5bf7
@ -553,6 +553,9 @@ CMD:sync( playerid, params[ ] )
|
|||||||
if ( ! IsPlayerConnected( playerid ) || ! IsPlayerSpawned( playerid ) || p_SyncingPlayer{ playerid } == true || IsPlayerAFK( playerid ) )
|
if ( ! IsPlayerConnected( playerid ) || ! IsPlayerSpawned( playerid ) || p_SyncingPlayer{ playerid } == true || IsPlayerAFK( playerid ) )
|
||||||
return SendError( playerid, "You cannot use this feature at the moment." );
|
return SendError( playerid, "You cannot use this feature at the moment." );
|
||||||
|
|
||||||
|
if ( p_Jailed{ playerid } )
|
||||||
|
return SendError( playerid, "You cannot use this feature while you are jailed." );
|
||||||
|
|
||||||
if ( IsPlayerInAnyVehicle( playerid ) )
|
if ( IsPlayerInAnyVehicle( playerid ) )
|
||||||
return SendError( playerid, "You cannot synchronize yourself in a vehicle." );
|
return SendError( playerid, "You cannot synchronize yourself in a vehicle." );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user