vexler222
Active Member
- Joined
- Apr 22, 2012
- Messages
- 714
- Solutions
- 15
- Reaction score
- 46
Hi, i make two language datapack, where i can use Polish or English language, and i have question, its possible to make a function short than my actually storage check?
Actually im using it like that:
if player:getStorageValue(language_storage) == 1 then
MESSAGE IN ENGLISH
else
MESSAGE IN POLISH
end
Its possible to make something like this?
if lang_s then
ENGLISH
else
POLISH
end
Actually im using it like that:
if player:getStorageValue(language_storage) == 1 then
MESSAGE IN ENGLISH
else
MESSAGE IN POLISH
end
Its possible to make something like this?
if lang_s then
ENGLISH
else
POLISH
end