Author Topic: Updating the Score/Player GUI  (Read 1499 times)

I want to change a client's score. Works, but it doesn't update the actual GUI until later from other things. Any way to just update with a command?

instead of this

Code: [Select]
%client.score++;
use this

Code: [Select]
%client.incScore(1);

Code: [Select]
function serverCmdUpdateTheScore(%client)
{
 %client.score += 1;
 
}

darkknight im pretty sure thats what he's doing, but that wont update any of the clients' guis like he wants. mine updates guis.

edit wtf my brain just processed your code and it makes absolutely no sense. basically what it does is allow clients to give themselves free points, all the while not updating guis mind you.
« Last Edit: May 10, 2007, 10:35:33 PM by Zor »


...
edit wtf my brain just processed your code and it makes absolutely no sense. basically what it does is allow clients to give themselves free points, all the while not updating guis mind you.
Lol it adds score without even showing it.
Quote
Guy 1: YES! 50 points!!!! I win, no way to make over 50 now! 1 second till game end!
*The Game Has Ended, Guy 2 has won for having 723922 points*
Guy 1: WTF?!
Guy 2: I'm good at this, aren't I? :P