I'm trying to update this serverside- but it won't o-o
I'm using a custom GUI, so I'm using this to heal the player
HTML Code:
public function onHealPlayer(amount) {
player.hearts += temp.amount;
triggerclient("weapon", "-Player/HUD", "updateHP", player.hearts);
}
Once it's updated, it'll call the HUD to update. However, on the serverside it shows the HP changing without a problem, but when I go on the clientside it's staying at the old value, not the new one!
Anyone have any reasons why?
I tried it with the default system, but no fix x-x (still updated on the serverside, not the clientside)