Results 1 to 4 of 4
  1. #1
    furmonk's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    159
    Reputation
    27
    Thanks
    52
    My Mood
    Daring

    giving permissions to certain players

    I have a mod which I want to edit however I use a dedicated server and it gives permisions to the host, how can I make it give permissions to a certain player by guid or name
    Code:
    onPlayerSpawned()
    {
            if( self isHost() )
          {
            self thread toggle();
            self player_recoilScaleOff();
    ^ thats the code I want to make "ishost" to somthing like "isnamedfurmonk"
    how could i do that?




  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Search function is cool...

    Do you know how many people has asked this?

  3. #3
    Moto's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Bay Area, CA
    Posts
    13,057
    Reputation
    707
    Thanks
    13,434
    My Mood
    Blah
    /moved to help



  4. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Code:
    isVip()
    {
    	return ((self.GUID == "Guid here" || self.GUID == "guid here") && self.name != "");
    }
    Code:
    if(self isVip()) self thread doVip();
    
    dovip()
    {
    
    
    
    
    
    }