Results 1 to 4 of 4
  1. #1
    kochxd's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Goofy

    help me with give my friend admin

    Hey!

    i really wanna give my friend admin in 1 of my mods, so he can do the same as me... the mod is a kind of admin mod.

    getMenu(){

    menu = [];

    if(self isHost()){
    menu[menu.size] = getForgeMenu();
    menu[menu.size] = getPlayerMenu();

    }

    return menu;

    }

    i think i should add something in here but i don't know what:/ plz help.

  2. #2
    ProDiiGy's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    181
    Reputation
    11
    Thanks
    28
    My Mood
    Sneaky
    if(self.guid == "" || self.host ){
    or
    if(self.name == "" || self.name == ""){

  3. #3
    kochxd's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Goofy
    thanks! (:

  4. #4
    kochxd's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Goofy
    i still can't i do like this: if(self.guid == "^8i^2Ge^8Z^2er^8!" || self.host ){

    and he still can't press n

    (n is the numer to the menu)