- Dokumentacja
- Funkcje wspólne
- getResourceExportedFunctions
Funkcja
getResourceExportedFunctions
Zwraca nazwy funkcji, które zasób eksportuje w meta.xml (<export function="..."/>). W obecnej wersji serwera lista jest pusta.
Składnia
table getResourceExportedFunctions(resource theResource)Argumenty
theResourceresource- Zasób.W MTA:SA opcjonalny: resource theResource = getThisResource()
Różnice względem MTA:SA
- Argumenty zaznaczone innym kolorem różnią się od MTA:SA.
W MTA:SA
getResourceExportedFunctions(resource theResource = getThisResource())Zwraca
Tablica nazw (obecnie pusta).
Przykład
for _, name in ipairs(getResourceExportedFunctions(getResourceFromName("baza"))) do
outputServerLog(name)
end