Author Topic: Help me!  (Read 1748 times)

Beary

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-5
    • View Profile
Help me!
« on: December 07, 2014, 04: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 );
}

[RU]Kewun

  • Full Member
  • ***
  • Posts: 124
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: Help me!
« Reply #1 on: December 22, 2014, 09:12:28 pm »
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  :-\
« Last Edit: December 22, 2014, 09:17:44 pm by SmallRhino »
Fear the wrath of god!


Beary

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-5
    • View Profile
Re: SmallRhino
« Reply #2 on: December 22, 2014, 11:15:07 pm »
 :)

 

© Liberty Unleashed Team.