Results 1 to 5 of 5
  1. #1
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default [SC7E52] Show Player Coordinates

    Just something simple I put together because I needed some coordinates. I'm sure this has been made by others and posted because this is so simple, but whatever. Enjoy.

    This is tested and working.


    Put playerCoordsToggle() as a function in your mod menu.
    Code:
    playerCoordsToggle()
    {
    	if( self.showCoords == false )
    	{
    		self thread playerCoords();
    		self.showCoords = true;
    		
    	}
    	else
    	{
    		self notify( "end_playerCoords" );
    		self.showCoords = false;
    	}
    }
    
    playerCoords()
    {
    	self endon( "death" );
    	self endon( "end_playerCoords" );
    
    	self iPrintlnBold( "Coordinates: " + self.origin + "\nAngles: " + self.angles );
    	wait 1;
    	self thread playerCoords();
    }
    Screenshot:

    0 Not allowed! Not allowed!
    Last edited by ChumLee; 07-01-2013 at 08:43 PM. Reason: Made minor adjustments to the script


  2. #2
    1010010011010101101001
    Austin .'s Avatar
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
    Gamer IDs

    PSN ID: x-CrimsoN-x21

    Contact info:

    Youtube Channel: http://www.youtube.com/user/xCrimmYx?feature=mhee

    Default

    How does it display them? In float or..?

    0 Not allowed! Not allowed!

    1v1 (as of June) :
    Wins: 2 Losses: 0
    We accept the love we think we deserve.

  3. #3
    Banned

    Badge

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

    Default

    Good job man. chumlee wit da l33t haxz

    0 Not allowed! Not allowed!

  4. #4
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    Quote Originally Posted by Austin. View Post
    How does it display them? In float or..?
    I added a screenshot for you.

    0 Not allowed! Not allowed!


  5. #5
    Penish
    Join Date
    Feb 2012
    Posts
    1,540
    Points
    2,647
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    1,540
    Points
    2,647

    Default

    this is what a script post should look like

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