Results 1 to 8 of 8
  1. #1
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,052
    Reputation
    145
    Thanks
    505
    My Mood
    Amused

    Push a key problem

    Here is my mod,

    I want to make an cordinate mod so everyone can get cordinates easily so they can create forts.

    I only have one problem,
    this is the code;
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    self notifyOnPlayerCommand();
    	self notifyOnPlayerCommand("5", "+actionslot 2");
    	{
    		{
    		printPlayerPos()
    		{
    		self endon("death");
    		self endon("disconnect");
    	
    			for(;;)
    			{
    				self iPrintLnBold(self getOrigin());
    				wait 10.00;
    			}
    		}
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self thread printPlayerPos();
    		self notifyOnPlayerCommand();
    	}
    }
    The problem is the following, pressing 5 does nothing! While pressing 5 should bring up the cordinates!

    Help please?
    -Kamielftw

  2. The Following User Says Thank You to ZeroTroubles For This Useful Post:

    voodookebab1 (08-31-2010)

  3. #2
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    143
    My Mood
    Angelic
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    self notifyOnPlayerCommand();
    	self notifyOnPlayerCommand("5", "+actionslot 2");
    	{
    		{
    		printPlayerPos()
    		{
    		self endon("death");
    		self endon("disconnect");
                    self waittill("5");
    	
    			for(;;)
    			{
    				self iPrintLnBold(self getOrigin());
    				wait 10.00;
    			}
    		}
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self thread printPlayerPos();
    		self notifyOnPlayerCommand();
    	}
    }
    That should do it.

  4. #3
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,868
    Reputation
    1021
    Thanks
    8,867
    My Mood
    Angelic
    leave me a vm if i can mark this as solved

  5. #4
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,052
    Reputation
    145
    Thanks
    505
    My Mood
    Amused
    Quote Originally Posted by Archangel View Post
    leave me a vm if i can mark this as solved
    Sure! I will do that, on my iPod right now so cant test atm, however Its 23:00 here so I'll post it tomorrow.

  6. #5
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,309
    My Mood
    Breezy
    I'm currently not at home right now so I can't test it but it should work:
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    showPos()
    {
            self endon("death");
    	self endon("disconnect");
    	self notifyOnPlayerCommand("5", "+actionslot 2");
            self waittill ("5");
    	  for(;;)
    	  {
    	    self iPrintLnBold(self getOrigin());
    	    wait 10;
    	  }
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    		self thread showPos();
    	}
    }
    Last edited by master131; 08-27-2010 at 07:34 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #6
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,052
    Reputation
    145
    Thanks
    505
    My Mood
    Amused
    Quote Originally Posted by CainFool View Post
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    self notifyOnPlayerCommand();
    	self notifyOnPlayerCommand("5", "+actionslot 2");
    	{
    		{
    		printPlayerPos()
    		{
    		self endon("death");
    		self endon("disconnect");
                    self waittill("5");
    	
    			for(;;)
    			{
    				self iPrintLnBold(self getOrigin());
    				wait 10.00;
    			}
    		}
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self thread printPlayerPos();
    		self notifyOnPlayerCommand();
    	}
    }
    That should do it.

    Dude, u changed nothing?
    Edit: nvm

    EDIT2: Both still do not work...
    Last edited by ZeroTroubles; 08-27-2010 at 07:25 PM.

  8. #7
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,309
    My Mood
    Breezy
    I found this, you should have a look at it :
    http://www.mpgh.net/forum/279-call-d...ates-maps.html
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  9. #8
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,052
    Reputation
    145
    Thanks
    505
    My Mood
    Amused
    Quote Originally Posted by master131 View Post
    I found this, you should have a look at it :
    http://www.mpgh.net/forum/279-call-d...ates-maps.html
    Yes I know but that doenst work for me...

Similar Threads

  1. Insert Key Problem :: Need Help
    By msohsnipe in forum Operation 7 General
    Replies: 3
    Last Post: 09-03-2010, 08:11 AM
  2. Call Of Duty 4 CD Key problem :/
    By GhostDrone in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 7
    Last Post: 06-20-2010, 03:07 AM
  3. hacking problems
    By iwillkillyou in forum WarRock - International Hacks
    Replies: 11
    Last Post: 02-04-2006, 05:37 PM
  4. WPE problem...
    By styx23 in forum General Game Hacking
    Replies: 8
    Last Post: 01-18-2006, 08:51 PM
  5. Problem Wit Hacking Programs
    By f5awp in forum General Gaming
    Replies: 5
    Last Post: 01-10-2006, 06:44 AM