issaim
New Member
- Joined
- Jul 5, 2010
- Messages
- 101
- Reaction score
- 2
Example : u say /fart player name player : i just farted And the player go holy shit
place this in Data/Talkaction.xml
have fun:ninja::ninja::ninja::ninja::ninja::ninja::ninja::ninja:
place this in Data/Talkaction.xml
XML:
<talkaction log="yes" access="5" words="/fart" script="fart.lua"/>
Lua:
function onSay(cid, words, param)
if(param == "") then
return TRUE
end
local target = getCreatureByName(param)
local playerpos = getPlayerPosition(target)
doCreatureSay(target, 'lol i totally just farted', 1, playerpos)
return TRUE
end
have fun:ninja::ninja::ninja::ninja::ninja::ninja::ninja::ninja: