Do you mean kind of like the old makeSay fuction?Im using 0.4 - 3777v
I want a function to force player to use a talkaction for use in my sources
doCreatureExecuteTalkAction(cid, "!online")
doCreatureExecuteTalkAction(cid, text[, ignoreAccess = false[, channelId = CHANNEL_DEFAULT]])
Code:doCreatureExecuteTalkAction(cid, "!online")
It's already implemented, is what Limos is trying to say.
Use it in any script.
a simple login function, works perfectly.
Code:function onLogin(cid) doCreatureExecuteTalkAction(cid, "!online", true) return true end
yeayeahBut he want use it on sources, not in LUA scripts
If you don't know c/c++ then it won't be possible for you to implement it especially since the function already exists in script format there is no point trying to ad it to the sources, especially if your not giving us any reason to implement it.yeayeah
It's possible? Any know?
function onSay(cid, words, param)
local function forcecommand(text)
doCreatureExecuteTalkAction(cid, text, true)
end
forcecommand("!online")
end