Posted 24 August 2013 - 12:30 PM
Im writing a code for my server when someone dies to say LOL player DIED!!!! :D/>
mainly just to tick people off as a joke but this happens
chat:5: bad argument #2 (expected number)
i tried having it print on the computer and it works just fine, what am i doing wrong?
also ignore the />/> in the print message, BB code added them
ty in advanced:)
mainly just to tick people off as a joke but this happens
chat:5: bad argument #2 (expected number)
i tried having it print on the computer and it works just fine, what am i doing wrong?
cb = peripheral.wrap("left")
while true do
e,player,killer,cause = os.pullEvent("chat_death")
cb.say("LOL ",player," DIED!!! :D/>")
end
also ignore the />/> in the print message, BB code added them
ty in advanced:)