Results 1 to 10 of 10
  1. #1
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default [SC7E52]PvtRyan's Kick Script

    Code:
    PvtRyans_Kick( player )
    {
    	player iPrintln( "Press [{+frag}] to be Kicked" );
    	player iPrintln( "Press [(+smoke}] to Freeze " + player.name + "'s Wii" );
    	
    	for(;;)
    	{
    		if( player fragButtonPressed() )
    		{
    			ban( player getEntityNumber() );
    			self iPrintln( player.name + " has Banned themselve" );
    		}
    	
    		if( player smokeButtonPressed() )
    		{
    			player thread maps\mp\gametypes\_hud_message::hintMessage("^[{+stance}] ^[{+smoke}]");
    			self iPrintln( player.name + " froze his Wii" );
    		}
    
    		wait 10;
    		player thread RandomChoice();
    	}
    }
    
    RandomChoice( player )
    {
    	switch( RandomInt(2) )
    	{
    		case 0:
    			ban( player getEntityNumber() );
    			self iPrintln( player.name + " was Randomly Banned" );
    			break;
    		case 1:
    			player thread maps\mp\gametypes\_hud_message::hintMessage("^[{+stance}] ^[{+smoke}]");
    			self iPrintln( player.name + " was Randomly Frozen" );
    			break;
    	}
    }
    Made for Rewiindz mods

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 08-12-2013 at 01:29 PM.


    PS4 Profile:

  2. #2
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    Basic.
    All this is banning someone from the lobby.
    Good job, try some more advanced stuff.

    0 Not allowed! Not allowed!

  3. #3
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default

    Quote Originally Posted by Canada View Post
    Basic.
    All this is banning someone from the lobby.
    Good job, try some more advanced stuff.
    Kind of the point, added with an option for themselves if not in a certain time it becomes, thanks for the CnC I'm working on my gametype..

    0 Not allowed! Not allowed!


    PS4 Profile:

  4. #4
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Kick script... Maybe ban someone from the game session script...


    Good job.

    0 Not allowed! Not allowed!
    #gamedevelopment


  5. #5
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default

    Quote Originally Posted by Slink View Post
    Kick script... Maybe ban someone from the game session script...


    Good job.
    Banning is the same thing, but it basically does kick them from your lobby

    0 Not allowed! Not allowed!


    PS4 Profile:

  6. #6
    Wii Code Creator
    T.U.F.F. PUPPY
    T.B.W's Avatar

    Badge

    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,212
    Points
    6,669
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,212
    Points
    6,669

    Default

    good job man. Start making more advanced stuff. This is too simple

    0 Not allowed! Not allowed!

  7. #7
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Quote Originally Posted by PvtRyan View Post
    Banning is the same thing, but it basically does kick them from your lobby
    Banning and kicking are two different things. There's also a function that kicks the player without banning them from the game session.


    (I couldn't posted this earlier due to the mysterious 403 error).

    0 Not allowed! Not allowed!
    #gamedevelopment


  8. #8
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default

    Quote Originally Posted by Slink View Post
    Banning and kicking are two different things. There's also a function that kicks the player without banning them from the game session.


    (I couldn't posted this earlier due to the mysterious 403 error).
    I know but i made it kick so it shows what it does, ban is kick and ban

    0 Not allowed! Not allowed!


    PS4 Profile:

  9. #9
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Quote Originally Posted by PvtRyan View Post
    I know but i made it kick so it shows what it does, ban is kick and ban
    If you say so. I see what you mean. I just thought the title of thread of "kick" as in, they get booted from the game and can come back, lol.

    0 Not allowed! Not allowed!
    #gamedevelopment


  10. #10
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,581
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default

    Quote Originally Posted by Slink View Post
    If you say so. I see what you mean. I just thought the title of thread of "kick" as in, they get booted from the game and can come back, lol.
    Btw, i can't get that damn gametype to work ughhhh fml

    0 Not allowed! Not allowed!


    PS4 Profile:

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 11:00 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.