28.07.2009, 12:06
I've been staring at this for hours, I can not figure it out, this is what I've got:
http://pastebin.com/d5fd78e3a
At OnPlayerKeyStateChange & OnPlayerText I assign some variables etc, but when I type /savearena some variables are 0.0000 as you can see on the pastebin above. OnPlayerKeyStateChange I did a little debug and it seems fine, none of them prints as 0.0000..
It's like this, you type /createarena then do the whole OnPlayerKeyStateChange stuff then the OnPlayerText stuff and then type /savearena to save it into mysql, I'm not resetting any variables or anything so why is it 0.0000
http://pastebin.com/d5fd78e3a
At OnPlayerKeyStateChange & OnPlayerText I assign some variables etc, but when I type /savearena some variables are 0.0000 as you can see on the pastebin above. OnPlayerKeyStateChange I did a little debug and it seems fine, none of them prints as 0.0000..
It's like this, you type /createarena then do the whole OnPlayerKeyStateChange stuff then the OnPlayerText stuff and then type /savearena to save it into mysql, I'm not resetting any variables or anything so why is it 0.0000