boolean IPS_MediaExists (int $MediaID)
MediaID | ID of the media object |
If the MediaID exists in the system, TRUE is returned, otherwise FALSE.
The command checks if the media object with the ID MediaID exists.
if (IPS_MediaExists(34881))
echo "A media object with this ID exists!";