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

IsPoisoned

Returns the poisoned status for mobile with ID ObjID

If mobile is poisoned - will return True.

If disconnected, or object not exists, or object not poisoned - will return False.

Pascal

function IsPoisoned(ObjID : Cardinal) : Boolean;

Python

def IsPoisoned(ObjID) -> boolean