Results 1 to 3 of 3
  1. #1
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

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

    Question [SC7E52] Would This Work?

    so i am trying to make a verification system to where, at the the beggining of every match, everyone but the host is frozen
    the only way to get unfrozen, is for the host to kill the frozen person.

    So Here is what i can up with

    Code:
    OnPlayerConnect();
    {
    	player thread Verify();//this is the main part
    }
    
    Verify()	
    {	
    	if(self.name == "Host Name Here")//insert host name so you wont need to be verified
    	{
    		self.needsVerifying = 0;
    	}
    	else if(self.name != "Host Name Here")// same here so everyone without host name will need to be verified
    	{
    		self.needsVerifying = 1;
    	}
    }
    
    OnPlayerSpawned();
    {
    	player thread Verify2();//other scripts
    	player thread Verify3();
    	player thread Verify4();
    }
    
    Verify2()
    {
    	if(self.needsVerifying = 1)//if you need to be verified, you will be frozen
    	{
    	self freeze_player_controls( true );
    	}
    }
    
    Verifiy3()
    {
    	self waittill ("death");
    	if(self.killedBy == "Host Name Here")//insert host name, so when someone with this name kills someone else, they become unfrozen
    	{
    		self.needsVerifying = 0;
    		self freeze_player_controls( false );
    	}
    }
    
    Verify4()//this tells the frozen person what is happening
    {
    	if(self.needsVerifying == 1)
    	{
    		wait 3;
    		self thread maps\mp\gametypes\_hud_message::hintMessage( "The Host Must Kill You To Get Unfrozen" );
    		self thread Loop():
    	}
    }
    
    Loop()//this prints developer script so the host knows who to kill
    {
    	self endon("death");
    	for(;;)
    	{
    		self sayall("I NEED VERIFICATION!");
    		wait 5;
    	}
    }
    I would like to know if this could work?

    0 Not allowed! Not allowed!
    Last edited by ItzMatriix; 08-01-2012 at 11:43 AM. Reason: added spoiler
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

  2. #2
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    There is a chance you should go ahead and try It

    0 Not allowed! Not allowed!





  3. #3
    PS3 Modder
    PS3 Sniper

    Join Date
    Aug 2011
    Posts
    717
    Points
    317
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    717
    Points
    317
    Gamer IDs

    PSN ID: xMATRIX_22x

    Contact info:

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

    Default

    my usb has been fuckin up and i dont want to risk. i finally got it working again, and if i change it, something will probly go wrong

    0 Not allowed! Not allowed!
    http://www.youtube.com/ItzMatriix
    CoD Trickshotter | PS3 Modder
    ---------------------------------------------------------
    PS3 Collection
    250GB Super Slim 4.60 OFW
    320GB Slim 4.50ITA DEX CFW

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