To jest błąd "The 1st argument given to the function 'spawn_mob' is not of the required type text. Check the corrent order of the arguments and put lists into parentheses if appropriate (e.g. 'give(player, (iron ore and gold ore))'). Please note that storing the value in a variable and then using that variable as parameter will suppress this error, but it still won't work."
Ma ktoś jakiś pomysł jak to naprawić? :c
EDIT: Problem już rozwiązany, co ciekawe podczas pisania tego wpadłem na pomysł jak to naprawić, temat do zamknięcia.
Pytanie
Rafep 3
Cześć, mam taką funkcję:
function spawn_mob(text: text, loc: location):Tylko, że gdy chcę ją uzyć w taki sposób:
spawn_mob(krowa, player's location)To jest błąd "The 1st argument given to the function 'spawn_mob' is not of the required type text. Check the corrent order of the arguments and put lists into parentheses if appropriate (e.g. 'give(player, (iron ore and gold ore))'). Please note that storing the value in a variable and then using that variable as parameter will suppress this error, but it still won't work."
Ma ktoś jakiś pomysł jak to naprawić? :c
EDIT: Problem już rozwiązany, co ciekawe podczas pisania tego wpadłem na pomysł jak to naprawić, temat do zamknięcia.
Edytowane przez RafepOdnośnik do komentarza
https://skript.pl/temat/30876-not-required-type-text/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi