forked from otland/forgottenserver
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cast.lua #3
Comments
i will test again if not work i will revert that change |
is there a sql codes that needed updated to database ? |
no need sql changes yet |
Still doesnt work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This one in package just doesnt work.
I compiled your tfs without any changes ( just config ofc ) and !cast doesn't work.
When i make it like this ;
function onSay(cid, words, param)
local player = Player(cid)
if player:isInCast() then
player:sendCancelMessage("You are currently casting.")
return false
end
player:setInCast(true)
player:setPassword(param)
player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting.")
return false
end
It works perfectly. With previous cast.lua (this in package) nothing is happening. It's as if i would say something on chat. I dont even have bugs in console, as if that talkaction wouldnt exist
The text was updated successfully, but these errors were encountered: