Hey there,
i just fixxed the script for TFS 0.3.5 PL1
Tested and it works!
So don't tell me that it would't work!
Let's start!
talkactions > talkactions.xml
and then
talkactions > scripts
create a new file called "makesay.lua"
and add this
Then you just have to type inGame!
Credits
SamDaMan 65%(**fans.net)
SantyCool 25& (**fans.net)
Cazar 10% /For fixing the Script)
Feel free to add a rep++
//Cazar
i just fixxed the script for TFS 0.3.5 PL1
Tested and it works!
So don't tell me that it would't work!
Let's start!
talkactions > talkactions.xml
Code:
<talkaction access="5" words="/makesay" event="script" value="makesay.lua"/>
and then
talkactions > scripts
create a new file called "makesay.lua"
and add this
Lua:
function onSay(cid, words, param)
local param2 = string.explode(param, ",")
if(param2[1] ~= nil) then
local pname = getPlayerByNameWildcard(param2[1])
if(param2[2] ~= nil) then
text = param2[2]
end
doCreatureSay(pname, text, TALKTYPE_SAY)
else
doPlayerSendCancel(cid, "Failed. Please try again.")
end
return TRUE
end
Then you just have to type inGame!
Code:
/makesay Player,Text
Credits
SamDaMan 65%(**fans.net)
SantyCool 25& (**fans.net)
Cazar 10% /For fixing the Script)
Feel free to add a rep++
//Cazar