Skip to content
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

Open
blokerq opened this issue Jun 8, 2014 · 4 comments
Open

cast.lua #3

blokerq opened this issue Jun 8, 2014 · 4 comments

Comments

@blokerq
Copy link

blokerq commented Jun 8, 2014

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

@felipetmartini
Copy link

i will test again if not work i will revert that change

@Anillka
Copy link

Anillka commented Jun 8, 2014

is there a sql codes that needed updated to database ?

@felipetmartini
Copy link

no need sql changes yet

@blokerq
Copy link
Author

blokerq commented Jun 10, 2014

Still doesnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants