Hi.. Im using these quests but I have a little problem with it
I get this in ch syserr when I click button in client
Code
- quest costume begin
- state start begin
- when login begin
- cmdchat("costume "..q.getcurrentquestindex())
- end
- when button or info begin
- if pc.getqf("costume") == 1 then
- chat("You chose visibility costume.")
- pc.setqf("costume", 2)
- pc.costume(0)
- elseif pc.getqf("costume") == 2 then
- chat("You chose visibility armor.")
- pc.setqf("costume", 1)
- pc.costume(1)
- end
- end
- end
- end