Results 1 to 10 of 26

Thread: key on keyboard

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    you need to bind a player key on connect then

    bind KEY openscriptmenu -1 BUTTON_PRESSED_5

    (use clientcmd.menu to do that - search forum if you don't know what is it)

    PHP Code:
    if(response == "BUTTON_PRESSED_5")
         
    self thread spawnSentry(); 
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  2. The Following 2 Users Say Thank You to RobsoN For This Useful Post:

    Rocky (14th January 2014),smect@ (15th January 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •