boolean IPS_ObjectExists (integer $ObjectID)
ObjectID | The ID of the object |
If the command succeeds, it returns TRUE, otherwise FALSE. |
This function checks if an object with the ID ObjectID exists.
if (IPS_ObjectExists(34881)) echo "An object with that ID exists!";