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".
@edit OK i fix this, this work ->
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
SOLVED - CAN CLOSE
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: