skript: 2.4 beta
console error: variables cannot be used here. (set the maximum health of the {_p}'s to 10.5) and variables cannot be used here. (clear the {_p}'s inventory)
{(p: player)}
the clear the {_p}'s inventory dont work in a function and set the maximum health of the {_p}'s to 10.5
code
console error: variables cannot be used here. (set the maximum health of the {_p}'s to 10.5) and variables cannot be used here. (clear the {_p}'s inventory)
{(p: player)}
the clear the {_p}'s inventory dont work in a function and set the maximum health of the {_p}'s to 10.5
code
Code:
function reset(p: player):
delete {vd::%{_p}%}
delete {dinero.%{_p}%}
delete {armadura.%{_p}%}
delete {healer.%{_p}%}
delete {espada.%{_p}%}
delete {vida.%{_p}%}
set slot 39 of {_p} to air
set slot 38 of {_p} to air
set slot 37 of {_p} to air
set slot 36 of {_p} to air
clear the {_p}'s inventory