Liberty Unleashed
Scripting => Script Help => Topic started by: Beary on December 07, 2014, 03:14:04 am
-
Everybody is good, I joined bindKey on my server, but it suggests that this is wrong, how can I do? Or you can give me an example.
function onScriptLoad()
{
BindKey( 'H', BINDTYPE_DOWN, "HalloThere", 123 );
return 1;
}
function HalloThere( somenumber )
{
Message( "Hallo there! " + somenumber );
}
-
Did you create an .nut and put the script in it
and added a line in the script.xml
and set to client="0" ? if you did that change that 0 to 1
EDIT: I tested and it works :-\
-
:)