20.03.2013, 13:26
Save each player's data when they disconnect?? I'm not too experienced with mysql so I wouldn't be able to show you how... but that way, it only gets called once, per player. Depending on whether the conditions are met, and might not be called like during a server restart for example... then you would have to find a way around that yourself.