• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Talk In Lua

Lakh

Banned User
Joined
Aug 17, 2011
Messages
189
Reaction score
4
Location
Göteborg, Sweden
Well.. The title says it all, you should talk in lua :D
Start:

LUA:
function onStepIn(cid, topos, frompos)
    doPlayerSendTextMessage(cid,21, "Hello, ..getplayername(cid)..", how are you today?"
  else
    doPlayerSendCancel(cid, "Well.. Okay.."
end
 
LUA:
function onUse(cid, fromPosition, itemEx, toPosition)
for i = 1, 1000 do
print("Hail pandas")
end
return true
end
 
LUA:
function onStepIn(cid, topos, frompos)
??
...
LUA:
function onSay(cid, words, param)
 
is this a troll thread?
LUA:
function permaBan(op, reason)
	if op[persona] == 'troll' then
		doBanish(op, reason, true)
		doSendMessage(op, 'You have been b& and there is not expiration. \n Reason:\n' .. reason)
	else
		doSendMessage(op, 'I\'m watching you!')
	end
return true
end
 
Last edited:
Back
Top