• 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!

SelfSay

Ascuas Funkeln

Rakkedo Game
Joined
Apr 14, 2013
Messages
549
Solutions
32
Reaction score
304
Location
Poland
GitHub
AscuasFunkeln
Hello, i wanna make item. Using it work like "player send normal msg".
Lua:
function onUse(cid, item)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED)
SelfSay(cid, 'blah bla')
return true
end

@edit OK i fix this, this work ->
Lua:
function onUse(cid, item)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED)
doPlayerSay(cid, '!autoloot')
return true
end

To finish i wanna make this for automatic add items to autoloot, but this dont work xD Dont add item to loot list xD

Any idea? Btw. im using this AUTOLOOT [MOD] and try it to make loot everything without any commands, but just fk up everything xD

@edit Ok im fix this xD This work
Lua:
function onUse(cid, item)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED)
doCreatureExecuteTalkAction(cid, "!autoloot", true)
return true
end

SOLVED - CAN CLOSE
 
Last edited:
Back
Top