1. Well i trying to fix one line for 25minutes..

    My code look like
    Code:
                        if(args[1] == "K")
                        {                        if(permission.UserHasPermission(target.userID.ToString(), "cansomething"))
                            {
                                SendReply(player, prefix + ": " + "This player has already this permission!");
                                return;
                            }                        permission.GrantUserPermission(target.userID.ToString(), "cansomething");                    }
    error:
    Code:
    No overload for method `GrantUserPermission' takes `2' arguments
    
    I'm tired of trying to fix this.. i clearly do the same as i do in permission.UserHasPermission(string steamId, string permission);

    Any1 knows why this happens ?

    Thanks for any help,
    PaiN
     
  2. Wulf

    Wulf Community Admin

  3. Plugin owner xD? LEL I didnt know...
    Okay i've set "this" as a third argument seems to work.. Thanks Wulf!
    [DOUBLEPOST=1439580772][/DOUBLEPOST]I'm always gonna tell that something is right and is wrong LOL..

    It doesnt even add the permission.. any other thoughts ?
    [DOUBLEPOST=1439596639,1439578622][/DOUBLEPOST]Any1 :p ??
    Yeah ik that i shouldn't "triple post" xD But its really important .. atleast for me.
     
  4. Wulf

    Wulf Community Admin

  5. Have you registered the permission with your plugin you are trying to grant?
     
  6. Yeah its registered by another plugin.
    I will try once more then...
     
  7. Yes you can, but not with your plugin set as owner.
     
  8. So instead of the "this" i should put the Sign Artist. As a string or how ?