ClientHide
Hides the specified object on the connected client. The object becomes invisible locally — the server is not notified and other players still see it.
Returns True if the object was successfully hidden, False otherwise.
Скрывает указанный объект на подключённом клиенте. Объект становится невидимым локально — сервер не уведомляется, другие игроки по-прежнему видят объект.
Возвращает True, если объект успешно скрыт, False в противном случае.
function ClientHide(ObjID: Cardinal): Boolean;
Parameters:
- ObjID — ID of the object to hide on the client.
def ClientHide(ObjID: int) -> bool: ...
begin
// Hide a corpse cluttering the screen
if ClientHide(corpse_id) then
AddToSystemJournal('Object hidden on client');
end.
if ClientHide(corpse_id):
AddToSystemJournal('Object hidden on client')