Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

Problem with first steps of programming

$
0
0
Hi guys. I have problem. Im trying to write first simple script but when im try login i cant


Lua:
local config = {
    ["Monday"] = 1.0,
    ["Tuesday"] = 1.0,
    ["Wednesday"] = 1.0,
    ["Thursday"] = 1.0,
    ["Friday"] = 1.0,
    ["Saturday"] = 1.5,
    ["Sunday"] = 2.0
}

function onLogin(player)
    player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "Dostajesz dodatkowego EXP'a bo dziś jest "..os.date("%A").."!")
end

function onGainExperience(player, exp, rawExp)
  exp =...
Problem with first steps of programming

Viewing all articles
Browse latest Browse all 32017

Trending Articles