Liberty Unleashed
Scripting => Script Help => Topic started by: Mido_Pop on July 07, 2013, 10:44:59 am
-
I'm Trying To make A Gui For The Score Of All Red Team And Blue Team By Hash >
> But The Hash Saves The Player Name Like This >>
Red.Inc( player.Name, 1 );
Red.Save( "Hashes/Red.hsh" );
What Should I Do To Make The Gui ?
i Tried To Make This But The Server Said Error
>>Red.Inc( 1 );
Red.Save( "Hashes/Red.hsh" );
-
Write client-side function which will update your gui.
Example
function IncScore(ammount)
{
Red.Inc( player.Name, 1 );
Red.Save( "Hashes/Red.hsh" );
CallClientFunc(player, "*your direction here*", "Update", Red.Get( player.Name ));
}
function Update(ammount)
{
//Here you set scores
}
PS: I ain't understood your problem, but looks like that is solution of your problem
-
Man I Mean Making Gui For Teams Score Not For Player Score
> Like This
< Red Team > VS < Blue Team >
0 0
-
What's Up, No One Have Any Idea >:( :o
-
I send you my solution on CTF Server if i will get access to my host
-
This script is outdated, and uses some functions that aren't available anymore (or changed).
But with some editing you should get an idea how to make your GUI.
Link: http://forum.liberty-unleashed.co.uk/index.php/topic,749.0.html (http://forum.liberty-unleashed.co.uk/index.php/topic,749.0.html)
-
This script is outdated, and uses some functions that aren't available anymore (or changed).
But with some editing you should get an idea how to make your GUI.
Link: [url]http://forum.liberty-unleashed.co.uk/index.php/topic,749.0.html[/url] ([url]http://forum.liberty-unleashed.co.uk/index.php/topic,749.0.html[/url])
Thanks Man, But I Didn't Get Any Idea ;D