Page 309 of 311 FirstFirst ... 209259299307308309310311 LastLast
Results 3,081 to 3,090 of 3104
  1. #3081
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    214
    Quote Originally Posted by B7ackhawk View Post
    ...

    so where the problem !!
    mhh, maybe you are not a vip because you are not in the reserved slot list.
    create a reserved slot for your playername. goto procon pc tool > lists > reserved slots > add soldier
    Developer of the VIP Slot Manager Plugin

  2. #3082
    Quote Originally Posted by maxdralle View Post
    mhh, maybe you are not a vip because you are not in the reserved slot list.
    create a reserved slot for your playername. goto procon pc tool > lists > reserved slots > add soldier
    !lead +!killme work but !! !moveme not O.o o.O
    Last edited by B7ackhawk; 01-10-2017 at 18:54.

  3. #3083
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    214
    Quote Originally Posted by B7ackhawk View Post
    !lead +!killme work but !! !moveme not O.o o.O
    the moveme command can not work on a full server.
    your balancer must sync the reserved slots to the balancer whitelist
    Developer of the VIP Slot Manager Plugin

  4. #3084
    Quote Originally Posted by maxdralle View Post
    the moveme command can not work on a full server.
    your balancer must sync the reserved slots to the balancer whitelist
    I got it thank you

  5. #3085
    Senior Member
    Join Date
    Jan 2012
    Location
    The Kingdom of England
    Posts
    123
    Quote Originally Posted by maxdralle View Post
    in insane limits you can use custom lists for VIP roles. create new lists (e.g. list_name: 'vip_lead_list') and put the VIP playernames into the data section.
    then change the script. replace the parts 'if (plugin.GetReservedSlotsList().Contains(player.Nam e)) {' with 'if (!plugin.isInList(player.Name, "vip_lead_list")) {'

    PHP Code:
    // Insane Limits - VIP Commands
    // !lead, !killme, !switchme
    // SETUP Insane Limits: Evaluation: OnAnyChat    ;   First_check: Code


    // SETTINGS 
    bool EnableLeadCmd false;     // true / false
    bool EnableKillmeCmd true;     // true / false
    bool EnableSwitchmeCmd true;     // true / false
    // SETTINGS END


    if ((player.LastChat).Length 1) { return false; }
    bool tmp_SendMsg false;

    if (
    Regex.Match(player.LastChat, @"^/?[!|@]lead$"RegexOptions.IgnoreCase).Success) {
        
    // squad leader command
        
    if (EnableLeadCmd) {
            if (!
    plugin.isInList(player.Name"vip_lead_list")) {
                
    plugin.ServerCommand("squad.leader"player.TeamId.ToString(), player.SquadId.ToString(), player.Name);
            } else {
                
    tmp_SendMsg true;
            }
        }
    } else if (
    Regex.Match(player.LastChat, @"^/?[!|@]killme$"RegexOptions.IgnoreCase).Success) {
        
    // killme command
        
    if (EnableKillmeCmd) {
            if (!
    plugin.isInList(player.Name"vip_lead_list")) {
                
    plugin.KillPlayer(player.Name);
            } else {
                
    tmp_SendMsg true;
            }
        }
    } else if (
    Regex.Match(player.LastChat, @"^/?[!|@]switchme$"RegexOptions.IgnoreCase).Success) {
        
    // team switch command
        
    if (EnableSwitchmeCmd) {
            if (!
    plugin.isInList(player.Name"vip_lead_list")) {
                
    plugin.ServerCommand("admin.movePlayer"player.Nameserver.OppositeTeamId(player.TeamId).ToString(), "0""true");
            } else {
                
    tmp_SendMsg true;
            }
        }
    }

    // send message based on player language
    if (tmp_SendMsg) {
        if ((
    player.CountryCode == "br") || (player.CountryCode == "pt")) {
            
    // message for brasil, portugal
            
    plugin.SendPlayerMessage(player.Nameplugin.R("So para VIPs"));
            
    plugin.PRoConChat("PlayerSay " player.Name ") So para VIPs");
        } else {
            
    // default message
            
    plugin.SendPlayerMessage(player.Nameplugin.R("Sorry, this command is for !VIP SLOT players only"));
            
    plugin.PRoConChat("PlayerSay " player.Name ") Sorry, this command is for !VIP SLOT players only");
        }

    I've add the changes as shown above, created a vip_lead_list and it says in-game "Sorry, this command is for !VIP SLOT players only"
    Last edited by GR101; 09-10-2017 at 22:04.

  6. #3086
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    214
    Quote Originally Posted by GR101 View Post
    I've add the changes as shown above, created a vip_lead_list and it says in-game "Sorry, this command is for !VIP SLOT players only"
    replace it with:
    Code:
    if (plugin.isInList(player.Name, "vip_lead_list")) {
    there was a " ! " in the line
    Developer of the VIP Slot Manager Plugin

  7. #3087
    Senior Member
    Join Date
    Jan 2012
    Location
    The Kingdom of England
    Posts
    123
    Quote Originally Posted by maxdralle View Post
    replace it with:
    Code:
    if (plugin.isInList(player.Name, "vip_lead_list")) {
    there was a " ! " in the line
    Thank you.

  8. #3088
    Hi guys
    on my server 2 admin can used !killme+!moveme !! but other admin cant ! why?
    Capture.PNG

  9. #3089
    please any help?

  10. #3090
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    214
    Quote Originally Posted by B7ackhawk View Post
    Hi guys
    on my server 2 admin can used !killme+!moveme !! but other admin cant ! why?
    Capture.PNG
    maybe the ingame playername is not correct, case sensitive difference, or there is a space character in your list. copy paste the name again...
    Developer of the VIP Slot Manager Plugin

 

 

Posting Permissions

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