Dobra mam jakąś wersję z paczki 2020
Takie błędy:
[12:41:58 INFO]: [Skript] Reloading latanie.sk...
[12:41:58 ERROR]: 'createCooldown(name: text, time: timespan=1 minute)' is not a text (latanie.sk, line 1: function createCooldown(name: text, time: timespan=1 minute):')
[12:41:58 ERROR]: 'deleteCooldown(name: text)' is not a text (latanie.sk, line 3: function deleteCooldown(name: text):')
[12:41:58 ERROR]: 'setCooldown(p: player, name: text, stat: boolean=true)' is not a text (latanie.sk, line 5: function setCooldown(p: player, name: text, stat: boolean=true):')
[12:41:58 ERROR]: 'getCooldown(p: player, name: text) :: boolean' is not a text (latanie.sk, line 11: function getCooldown(p: player, name: text) :: boolean:')
[12:41:58 ERROR]: 'getCooldownBoolean(p: player, name: text) :: boolean' is not a text (latanie.sk, line 17: function getCooldownBoolean(p: player, name: text) :: boolean:')
[12:41:58 ERROR]: 'getCooldownTime(p: player, name: text) :: timespan' is not a text (latanie.sk, line 19: function getCooldownTime(p: player, name: text) :: timespan:')
[12:41:58 ERROR]: 'getCooldownDate(p: player, name: text) :: date' is not a text (latanie.sk, line 23: function getCooldownDate(p: player, name: text) :: date:')
[12:41:58 ERROR]: 'getCooldownText(p: player, name: text) :: text' is not a text (latanie.sk, line 27: function getCooldownText(p: player, name: text) :: text:')
[12:41:58 ERROR]: 'createCooldown("latanie", 30 second)' is not a boolean (yes/no) (latanie.sk, line 37: createCooldown("latanie", 30 second)')
[12:41:58 ERROR]: 'getCooldown(player, "latanie")' is not a boolean (yes/no) (latanie.sk, line 43: if getCooldown(player, "latanie"):')
[12:41:58 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (latanie.sk, line 47: else:')