Thread: getting a button to work on login interface

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11  
    Banned

    Join Date
    Mar 2010
    Posts
    2,218
    Thanks given
    170
    Thanks received
    262
    Rep Power
    0
    Or an easier way to do it would be find where your CS2s load and a check for 4633 e.g (4633 is the CS2 used for the facebook button.)

    Code:
    if (id == 4633) {
    			//open url here
    			return null;
    		}
    Reply With Quote  
     

  2. Thankful user:


  3. #12  
    Donator

    Join Date
    Apr 2021
    Posts
    86
    Thanks given
    9
    Thanks received
    3
    Rep Power
    11
    so do i put this in the client side or the buttonhandler on the server side? i did add something llike this already to bh but didnt work

    seems there is nothing for the facebook button at all in the client when you click on the facebook button on original login interface it just comes up with "error connecting to server."
    Reply With Quote  
     

  4. #13  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Mr. Xeric View Post
    so do i put this in the client side or the buttonhandler on the server side? i did add something llike this already to bh but didnt work

    seems there is nothing for the facebook button at all in the client when you click on the facebook button on original login interface it just comes up with "error connecting to server."
    You can't send packets to the server before you login to the server/lobby so you can't add it to the server. I thought you edited the interface to add a new button, but if you just edited the sprite then you will need to do what Ynneh said since the CS scripts will take precedence over regular interface clicks. Strange that you get an error like this though.. I have no idea what it's trying to connect to
    Project thread
    Reply With Quote  
     

  5. #14  
    Certified Stoner

    demon dylan001's Avatar
    Join Date
    Feb 2009
    Age
    28
    Posts
    1,134
    Thanks given
    77
    Thanks received
    96
    Rep Power
    509
    Quote Originally Posted by Mr. Xeric View Post
    so do i put this in the client side or the buttonhandler on the server side? i did add something llike this already to bh but didnt work

    seems there is nothing for the facebook button at all in the client when you click on the facebook button on original login interface it just comes up with "error connecting to server."
    Ynneh gave you the answer since you replaced the facebook sprite then you already had the click button being handled just change the link.
    Quote Originally Posted by Legitimate View Post
    this kids a str8 leecher
    lol ^ this kid calls me a leecher and buys tons of stuff from me.
    I host Call of duty prestige lobbies on xbox 360
    I can host any call of duty you want just make me an offer pm me if interested
    Spoiler for Sig too big:

    skype-demondylan001 discord demon dylan001#8904
    Attached image
    Reply With Quote  
     

  6. #15  
    Donator

    Join Date
    Apr 2021
    Posts
    86
    Thanks given
    9
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by demon dylan001 View Post
    Ynneh gave you the answer since you replaced the facebook sprite then you already had the click button being handled just change the link.
    funny you guys are saying to look for the link and just change it when ive done this and dont see a link in any of the files
    i took a different approach to this issue and got rid of the button all together
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 1
    Last Post: 11-11-2018, 04:04 AM
  2. Replies: 5
    Last Post: 01-13-2016, 05:44 AM
  3. Replies: 0
    Last Post: 08-07-2011, 04:09 PM
  4. Have you ever tried getting a PI to work on Linux
    By VPS4RS.com in forum Hosting
    Replies: 1
    Last Post: 12-16-2010, 02:51 AM
  5. Replies: 12
    Last Post: 10-04-2010, 02:53 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •