Exiled Pain
Fervid Learner
- Joined
- Jan 8, 2008
- Messages
- 552
- Reaction score
- 4
Cool spell (or talkaction in this case) lol....
It works fine, Im only having one problem....
I any player dies while having the UPGRADE, they will stay like that for ever!!!
Tryed using the:
function onLogin(cid)
if getPlayerVocation(cid) == 10 then
doSetPlayerVocation(cid, 7)
end
end
but its not working...
Anyone have a fix??
Also what I do notice is I get a weird thing in mysql DB
When that player dies having the UPGRADE, I get a -1 value
on the ONLINE field, in players folder. And even if I set it to 0manualy as soon as I logout with the char again I get -1. And every other working player has:
Values
0 = offline
1 = online
This is only hapening to the char I tested the spell with, and as soon as I tested the death thing... got stuck with the upgrade and with the -1 value.
SO WHAT TO DO??
I`ve been testing several things but not working... but anyways im a noob starting in this, so any help would be apreciated.
I'VE FIX THE ISSUE - THANKS ANYWAY.
One more thing, anyone could do this for SPELLS?? Not talkactions??
It works fine, Im only having one problem....
I any player dies while having the UPGRADE, they will stay like that for ever!!!
Tryed using the:
function onLogin(cid)
if getPlayerVocation(cid) == 10 then
doSetPlayerVocation(cid, 7)
end
end
but its not working...
Anyone have a fix??
Also what I do notice is I get a weird thing in mysql DB
When that player dies having the UPGRADE, I get a -1 value
on the ONLINE field, in players folder. And even if I set it to 0manualy as soon as I logout with the char again I get -1. And every other working player has:
Values
0 = offline
1 = online
This is only hapening to the char I tested the spell with, and as soon as I tested the death thing... got stuck with the upgrade and with the -1 value.
SO WHAT TO DO??
I`ve been testing several things but not working... but anyways im a noob starting in this, so any help would be apreciated.
I'VE FIX THE ISSUE - THANKS ANYWAY.
One more thing, anyone could do this for SPELLS?? Not talkactions??
Last edited: