Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

IsWarMode

Returns the War State for mobile with ID ObjID

If mobile is in war state - will return True.

If disconnected, or object not exists, or object not in war state - will return False.

NB: War mode can be switched by SetWarMode

Pascal

function IsWarMode(ObjID : Cardinal) : Boolean;

Python

def IsWarMode(ObjID) -> boolean