SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje serwera
  3. isPlayerRadioEnabled

Funkcja

isPlayerRadioEnabled

SerwerGraczeTylko Trilogy Hub

Sprawdza, czy gracz ma włączone radio gry w pojeździe.

Składnia

bool isPlayerRadioEnabled(player thePlayer)

Argumenty

thePlayerplayer
Gracz.

Zwraca

true, jeśli włączone.

Przykład

outputServerLog(tostring(isPlayerRadioEnabled(player)))

Zobacz też