roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
the error is in this line
How can i solve this line error?
error:
Code:
Premium: " .. player:isPremium() and 'Is' or 'Not' ..
How can i solve this line error?
Lua:
function onSay(player, words, param)
player:popupFYI("Player Info!" ..
"\nInitial Information: " ..
"\nNick: " .. player:getName() ..
"\nLevel: " .. player:getLevel() ..
"\nPremium: " .. player:isPremium() and 'Is' or 'Not' ..
"")
return true
end
error:
Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/info.lua:onSay
data/talkactions/scripts/info.lua:9: attempt to concatenate a boolean value
stack traceback:
[C]: in function '__concat'
data/talkactions/scripts/info.lua:9: in function <data/talkactions/scripts/info.lua:3>