Results 1 to 9 of 9
  1. #1
    Guest MITI's Avatar
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378

    Default Script for allowing or not allowing some one to access the menu

    I am looking to add a script or something where I give permission to who ever I want to use the mod menu, to many people join and start M.O.A.D ing

    0 Not allowed! Not allowed!

  2. #2
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    Mod menu or the in-game menu?

    0 Not allowed! Not allowed!

  3. #3
    Guest MITI's Avatar
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378

    Default

    sorry mod menu, mw3 supermans port, it is just easier to use,

    0 Not allowed! Not allowed!

  4. #4
    Banned
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710

    Default

    just add an if statement ex:

    if( self.name == "nity" ) //people you do want to have access
    {
    //bla
    }

    -or-

    if( self.name == "newfag" ) //people you don't want to have access
    return;

    0 Not allowed! Not allowed!

  5. #5
    Guest MITI's Avatar
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378

    Default

    how would you figure who to give access to or how do you just insert the permissions script? but thanks nity i haveno clue what you posted. lol

    0 Not allowed! Not allowed!

  6. #6
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

    Youtube Channel: http://www.youtube.com/l3g3darymods

    Default

    lets say the only people you want into the game are person1, person2, and person3.

    if((self.name == person1) || (self.name == person2) || (self.name == person3))
    {
    //do menu crap
    }
    if((self.name != person1) || (self.name != person2) || (self.name != person3))
    {
    wait 5;
    }

    0 Not allowed! Not allowed!

  7. #7
    Guest MITI's Avatar
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Metz, France
    Posts
    803
    Points
    378

    Default

    how do you determine who is player 1 player 2 ect.

    0 Not allowed! Not allowed!

  8. #8
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

    Youtube Channel: http://www.youtube.com/l3g3darymods

    Default

    you change player 1 2 and 3 to whatever names you want in there

    0 Not allowed! Not allowed!

  9. #9
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    you could also do:

    if( self.usingMenu == false && self.NumberStatus >= 1 ) // Under status 1, cant use the mod menu, but over can
    {
    //Blah
    }

    or:

    if( self.usingMenu == false && self.NumberStatus <= 1 ) // What under status 1 can and can't do
    {
    //Blah
    }

    or:

    if( self.name == level.hostplayer ) || ( self.name == "C0D-FR34K" )
    {

    }

    0 Not allowed! Not allowed!
    Last edited by C0D-FR34K; 11-26-2011 at 03:50 PM.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 02:22 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.