Results 1 to 5 of 5

Thread: Help please

  1. #1
    Member Dr.GiggleZ's Avatar
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
    Gamer IDs

    Gamertag: MyNameIsGiggleZ PSN ID: Mr_GiggleZ55 Steam ID: DrGiggleZ55 Wii Code: Dr.GiggleZ

    Exclamation Help please

    can anyone help me out with a verification script lol ?
    I don't know why this doesn't work xD
    it only allows me to make players normal status xD
    but vip and admin don't work xD

    Code:
    Statuses()
    {
    	if( self.name == level.hostPlayer )
    	{
    		self.vip = true;
    		self.admin = true;
    		self.host = true;
    		self.status = "Host";
    	}
    	else
    	{
    		self.vip = false;
    		self.admin = false;
    		self.host = false;
    		self.status = "Normal";
    	}
    }
    
    Kick()
    {
    	player = level.players[self.Menu["Cursor"]];
    	playertokick = player GetEntityNumber();
    	wait 2;
    	kick(playertokick);
    	wait 0.5;
    	self thread NewMenu("PlyrM");
    }
    
    NormalP()
    {
    	player = level.players[self.Menu["Cursor"]];
        	level.players[self.Menu["Cursor"]].vip=false;
        	level.players[self.Menu["Cursor"]].admin=false;
        	level.players[self.Menu["Cursor"]].host=false;
    	level.players[self.Menu["Cursor"]].status="Normal";
        	level.players[self.Menu["Cursor"]] suicide();
        	self iPrintln("^1Normaled ^7"+level.players[self.Menu["Cursor"]].name);
    	wait 0.5;
    	self thread NewMenu("PlyrM");
    }
    
    VipP()
    {
    	player = level.players[self.Menu["Cursor"]];
        	level.players[self.Menu["Cursor"]].vip=true;
        	level.players[self.Menu["Cursor"]].admin=false;
        	level.players[self.Menu["Cursor"]].host=false;
    	level.players[self.Menu["Cursor"]].status="VIP";
        	level.players[self.Menu["Cursor"]] suicide();
        	self iPrintln("^1VIPed ^7"+level.players[self.Menu["Cursor"]].name);
    	wait 0.5;
    	self thread NewMenu("PlyrM");
    }
    
    AdminP()
    {
    	player = level.players[self.Menu["Cursor"]];
        	level.players[self.Menu["Cursor"]].vip=true;
        	level.players[self.Menu["Cursor"]].admin=true;
        	level.players[self.Menu["Cursor"]].host=false;
    	level.players[self.Menu["Cursor"]].status="Admin";
        	level.players[self.Menu["Cursor"]] suicide();
        	self iPrintln("^1Admined ^7"+level.players[self.Menu["Cursor"]].name);
    	wait 0.5;
    	self thread NewMenu("PlyrM");
    }
    I don't know why only norrmaling a player works lol any ideas/help?

    Solved It
    My problem was tthis player = level.players[self.Menu["Cursor"]];
    so the correct thing should just been
    Code:
    AdminP()
    {
        	level.players[self.Menu["Cursor"]].vip=true;
        	level.players[self.Menu["Cursor"]].admin=true;
        	level.players[self.Menu["Cursor"]].host=false;
    	level.players[self.Menu["Cursor"]].status="Admin";
        	level.players[self.Menu["Cursor"]] suicide();
        	self iPrintln("^1Admined ^7"+level.players[self.Menu["Cursor"]].name);
    	wait 0.5;
    	self thread NewMenu("PlyrM");
    }

    0 Not allowed! Not allowed!
    Last edited by Dr.GiggleZ; 09-21-2014 at 06:02 PM. Reason: Fixed lol

  2. #2
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default

    Code:
    Statuses()
    {
    if( self.name == level.hostPlayer )
    {
    self.vip = true;
    self.admin = true;
    self.host = true;
    self.status = "Host";
    }
    else
    {
    self.vip = false;
    self.admin = false;
    self.host = false;
    self.status = "Normal";
    }
    }
    Im not seeing a verification status thing for the others such as Admin & VIP. maybe that could be So?

    also where are you placing the player threads? they don't seem to be connected to the Verification script, so that can also be a trouble too possibly. Im not sure. id have to see how the rest of your mod is set up.

    1 Not allowed! Not allowed!
    Last edited by yMAKEMEFAMOUSz; 09-19-2014 at 02:23 PM.
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

  3. #3
    Moderator chewtoys's Avatar
    Join Date
    Jun 2013
    Posts
    2,351
    Points
    3,397
         User Info     Contact     Gamer ID
    Join Date
    Jun 2013
    Posts
    2,351
    Points
    3,397

    Default

    Have you tried setting it to wumbo?

    1 Not allowed! Not allowed!

  4. #4
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default

    Check your scripts an make sure that there is a script to verify the title of VIP or Admin. Because as you saw, there was only ones for Host & Normal. So you can still be identified as a host, but the other players will still remain as Normal unless you insert something in there to identify it. also make sure they are place correctly so the game reads the menu how you want it to be.

    0 Not allowed! Not allowed!
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

  5. #5
    Member Dr.GiggleZ's Avatar
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
    Gamer IDs

    Gamertag: MyNameIsGiggleZ PSN ID: Mr_GiggleZ55 Steam ID: DrGiggleZ55 Wii Code: Dr.GiggleZ

    Default

    Quote Originally Posted by Digger View Post
    Have you tried setting it to wumbo?
    Yes I tried it worked on wumbo lmao xD

    Quote Originally Posted by yMAKEMEFAMOUSz View Post
    Check your scripts an make sure that there is a script to verify the title of VIP or Admin. Because as you saw, there was only ones for Host & Normal. So you can still be identified as a host, but the other players will still remain as Normal unless you insert something in there to identify it. also make sure they are place correctly so the game reads the menu how you want it to be.
    alright ill try to make something to verify the title I suck but I should be able to come up with something maybe lol thank you I really appreciate it

    0 Not allowed! Not allowed!

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 12:02 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.