[Request] Adding a server only for specific IPs

Results 1 to 7 of 7
  1. #1
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Showoff [Request] Adding a server only for specific IPs

    Last edited by asd4129; 31-01-17 at 05:11 PM.


  2. #2
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Request] Adding a server only for specific IPs

    Specific IP ? It may be best in customer id.

    Is easy for make for , use your brain

  3. #3
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: [Request] Adding a server only for specific IPs


  4. #4
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Request] Adding a server only for specific IPs

    You can use :

    gUserProfile.CustomerID==1415858

  5. #5
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Re: [Request] Adding a server only for specific IPs

    Example

    Last edited by asd4129; 31-01-17 at 05:11 PM.

  6. #6
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Re: [Request] Adding a server only for specific IPs

    anyone help?

  7. #7
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: [Request] Adding a server only for specific IPs

    Hi, try using Customer ID instead of IP-address.
    Code:
    if (gUserProfile.CustomerID == 500000 || gUserProfile.CustomerID == 500001 ||
        gUserProfile.CustomerID == 500002 || gUserProfile.CustomerID == 500002)    
    {        
       // code    
    }



Advertisement