I'm trying to create a Gear Upgrade script with variables. But the equip effect cant use the variable as a number for the enchant
Here is the function where it equips the helmet(It's the same as all the other armor pieces)
function tagkit(p: player):
if {_p} has permission "vagt":
give {_p} 1 golden helmet of protection {helprot.%{_p}%}
The whole script is the file below
It's in danish btw
Here is the function where it equips the helmet(It's the same as all the other armor pieces)
function tagkit(p: player):
if {_p} has permission "vagt":
give {_p} 1 golden helmet of protection {helprot.%{_p}%}
The whole script is the file below
It's in danish btw
Attachments
Last edited: