Składnia
gethwid(): stringZwroty
| Nazwa | Typ | Opis |
|---|---|---|
hardwareId | string | Hardware identifier string. |
Opis
Returns Real's hardware identifier string.
Wywolaj bez parametrow. Funkcja czyta potrzebny kontekst z aktualnego stanu runtime.
Zwraca hardwareId (string). Uzyj tabeli zwrotow, aby oddzielic wartosci sukcesu, wyniki nil i bledy do obsluzenia.
Przykład
Read Real's cached hardware identifier string.
local hardwareId = gethwid()
print(hardwareId)