excool
New Member
- Joined
- Nov 22, 2023
- Messages
- 17
- Reaction score
- 3
Witam! Hello!
Translation into English using Google Translator . Tłumaczenie na angielski używając google translator .
I have a few questions, I didn't want to start each separate topic.. Mam kilka pytań, nie chciałem zakładać każdego oddzielnego tematu.
1. Mam problem aby dodać post w "Latest News" każdy długi tekst lub ze znakami specjalnymi wywala błąd.
1. I have a problem with adding a post in "Latest News" - any long text or text with special characters produces an error.
e.g.
np.
freeBlessMaxLevel = 100
- teraz jak by to wyglądało w tym skrypcie
- and now what it would look like in this script
Lua:
local freeBlessMaxLevel = 80
function onLogin(cid)
local player = Player(cid)
if player:getLevel() <= freeBlessMaxLevel then
for i = 1, 8 do
if not player:hasBlessing(i) then
player:addBlessing(i, 1)
end
end
player:sendTextMessage(MESSAGE_EVENT_ADVANCE,'You received adventurers blessings for you to be level less than ' .. freeBlessMaxLevel .. '!')
player:getPosition():sendMagicEffect(CONST_ME_HOLYDAMAGE)
end
return true
end
thanks for the replies
Last edited: