disable /sync in passive mode
This commit is contained in:
parent
b09f52b4fb
commit
1139f4e92e
@ -546,6 +546,9 @@ CMD:sync( playerid, params[ ] )
|
|||||||
if ( GetPlayerWeapon( playerid ) == WEAPON_SNIPER )
|
if ( GetPlayerWeapon( playerid ) == WEAPON_SNIPER )
|
||||||
return SendError( playerid, "You cannot synchronize yourself holding a sniper." );
|
return SendError( playerid, "You cannot synchronize yourself holding a sniper." );
|
||||||
|
|
||||||
|
if ( IsPlayerPassive( playerid ) )
|
||||||
|
return SendError( playerid, "You cannot use this feature while in passive mode." );
|
||||||
|
|
||||||
new
|
new
|
||||||
curr_server_time = GetServerTime( );
|
curr_server_time = GetServerTime( );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user