Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    hamed2011's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Classified
    Posts
    75
    Reputation
    10
    Thanks
    1
    My Mood
    Cool

    Question how to define teleport for specific xuid ?

    i want full source code to define teleport for dedicated server for specific users or xuides
    Last edited by hamed2011; 09-25-2011 at 08:31 AM.

  2. #2
    Xray Hunter's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    Take the GUID and do like:

    MyPlayer = *Guid*

    Tryed that?

    and

    MyPlayer setorigin(*Place*);

  3. #3
    hamed2011's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Classified
    Posts
    75
    Reputation
    10
    Thanks
    1
    My Mood
    Cool

    i want full source code for teleport

  4. #4
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    Like a vip system or something?

  5. #5
    hamed2011's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Classified
    Posts
    75
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    yeah !!only selected player can use teleport key on game

    The teleport system that is my mind is like on ACE mode ..

    A specific players can open harrier controller briefcase and select a point on the radar to teleport.
    if you played ACE mode before you got my means.

  6. #6
    apache-wd-forum's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    5
    This Code works 100% für alteriw!

    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    	if(self.GUID == "01100001xxxxx" || self.GUID == "01100001xxxxxx")
    	{
    	 self thread maps\mp\mods\_KickMenu::menuInit(); <--Admin
             self thread doTeleport(); <--Admin
             self thread doUfo  <--Admin
    	 }
    	 for(;;)
    	 {
             self waittill("spawned_player");
    	 self thread rotate::doSpawn();
    	}
    }
    ...and this is the Code Only for Player! Example Text other gsc Code [see only the player or have function]


    Code:
    doTextSuizide()
    {
    	if(self.GUID != "01100001xxxxx" && self.GUID != "01100001xxxxx")
    	{
    		for(;;)
    		{
    		self iPrintLn("^7Press ^2[[{+actionslot 2}]] ^7to suizide!");
    		wait 15;
    		self iPrintLn("^7Press ^2[[{+activate}]]^7+ ^2Player crouch ^7to use JetPack!");
    		wait 15;
    		self iPrintLn("^7Press ^2[[{+activate}]] ^7to Sentry Hijacking!");
    		wait 15;
    		}
    	}
    }
    Please do not forget to thank
    Last edited by apache-wd-forum; 09-25-2011 at 06:22 PM.

  7. The Following 2 Users Say Thank You to apache-wd-forum For This Useful Post:

    backtrack.mani (09-26-2011),hamed2011 (09-26-2011)

  8. #7
    backtrack.mani's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    how use this code ?
    where ?
    How i Know worked ???

  9. #8
    backtrack.mani's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    i need this . i use this but not working plz

  10. The Following User Says Thank You to backtrack.mani For This Useful Post:

    hamed2011 (09-26-2011)

  11. #9
    apache-wd-forum's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by backtrack.mani View Post
    i need this . i use this but not working plz
    Please send me your Mod + your XUID. I fix this...

    Teleport does not work on any map. You falling under Map. UFO is much better! Or move to your Crasshiar [is faster]



    Please make no Doppelpost! Edit yours... THX

    Edit: Backtrack? Make you Wardriving? WD (Wardriving Forum)
    Last edited by apache-wd-forum; 09-26-2011 at 09:31 AM.

  12. #10
    hamed2011's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Classified
    Posts
    75
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Quote Originally Posted by apache-wd-forum View Post
    Please send me your Mod + your XUID. I fix this...

    Teleport does not work on any map. You falling under Map. UFO is much better! Or move to your Crasshiar [is faster]

    Mordern Warfare 2 - Teleport to your Crosshair + UFO - YouTube

    Please make no Doppelpost! Edit yours... THX

    Edit: Backtrack? Make you Wardriving? WD (Wardriving Forum)
    what is this UFo??

    can you post that codes to me ??
    iwant to test it!!
    TNX

  13. #11
    backtrack.mani's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    i use in iw_26.iwd (anti noob . mapvoting & .....)

    plz u learn me how use to iw_26

    or create new mod and worked

    if u need iw_26 me ..... plz add me in yahoo or xfire

    Yahoo ID : backtrack.mani@Yahoo.com
    Xfire ID : picmelody

    and pm me
    i give u my iw_26.iwd

  14. #12
    apache-wd-forum's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by hamed2011 View Post
    what is this UFo??

    can you post that codes to me ??

    TNX
    Here is the UFO Mod:

    Code:
    doUFO()
    {
    	self notifyOnPlayerCommand( "down", "+actionslot 3" );
    	maps\mp\gametypes\_spectating::setSpectatePermissions();
    	for(;;)
    	{
    		self waittill("down");
    		self allowSpectateTeam( "freelook", true );
    		self.sessionstate = "spectator";
    		self waittill("down");
    		self.sessionstate = "playing";
    		self allowSpectateTeam( "freelook", false );
    	}
    }
    ...and here is the Teleport to Crosshair [you musst Player crouch + Slot4]


    Code:
    MoveToCrosshair()
    {
            self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
            for(;;)
            {
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "crouch" )
                    self iPrintlnBold( "^1You Teleportet to your Crosshair" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "crouch" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name == self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
            }
    }
    2 Functions!

    1. Teleport yourself to Crosshair [Crounch Player + 4]
    2. Teleport all player to your crosshair. [Player lying +4]


    Code:
    MoveToCrosshair()
    {
            self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
            for(;;)
            {
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "prone" )
                    self iPrintlnBold( "Everyone has Been Teleported to Your ^1CROSSHAIRS" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "prone" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name != self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "stand" )
                    self iPrintlnBold( "You Have Been Teleported to Your ^1CROSSHAIRS" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "stand" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name == self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
            }
    }
    Teleport [not go on any Map - falling under the Map]

    Code:
    doTeleport()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self notifyOnPlayerCommand("dpad_up", "+actionslot 1");
    
            for(;;)
            {
                    self waittill( "dpad_up" );
                    self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
                    self.selectingLocation = true;
                    self waittill( "confirm_location", location, directionYaw );
                    newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
                    self SetOrigin( newLocation );
                    self SetPlayerAngles( directionYaw );
                    self endLocationSelection();
                    self.selectingLocation = undefined;
            }
    }
    Last edited by apache-wd-forum; 09-26-2011 at 08:52 PM.

  15. The Following 2 Users Say Thank You to apache-wd-forum For This Useful Post:

    backtrack.mani (09-27-2011),hamed2011 (09-27-2011)

  16. #13
    backtrack.mani's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    my dear . i need code for admins or Special guid (xuid)

  17. #14
    hamed2011's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Classified
    Posts
    75
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Quote Originally Posted by apache-wd-forum View Post
    Here is the UFO Mod:

    Code:
    doUFO()
    {
    	self notifyOnPlayerCommand( "down", "+actionslot 3" );
    	maps\mp\gametypes\_spectating::setSpectatePermissions();
    	for(;;)
    	{
    		self waittill("down");
    		self allowSpectateTeam( "freelook", true );
    		self.sessionstate = "spectator";
    		self waittill("down");
    		self.sessionstate = "playing";
    		self allowSpectateTeam( "freelook", false );
    	}
    }
    ...and here is the Teleport to Crosshair [you musst Player crouch + Slot4]


    Code:
    MoveToCrosshair()
    {
            self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
            for(;;)
            {
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "crouch" )
                    self iPrintlnBold( "^1You Teleportet to your Crosshair" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "crouch" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name == self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
            }
    }
    2 Functions!

    1. Teleport yourself to Crosshair [Crounch Player + 4]
    2. Teleport all player to your crosshair. [Player lying +4]


    Code:
    MoveToCrosshair()
    {
            self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
            for(;;)
            {
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "prone" )
                    self iPrintlnBold( "Everyone has Been Teleported to Your ^1CROSSHAIRS" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "prone" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name != self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
                    self waittill( "dpad_right" );
                    if ( self GetStance() == "stand" )
                    self iPrintlnBold( "You Have Been Teleported to Your ^1CROSSHAIRS" );
                    {
                            forward = self getTagOrigin("j_head");
                            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
                            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                            if ( self GetStance() == "stand" )
                            {
                                    foreach( player in level.players )
                                    {
                                            if(player.name == self.name)
                                            player SetOrigin( Crosshair );
                                    }
                            }
                    }
            }
    }
    Teleport [not go on any Map - falling under the Map]

    Code:
    doTeleport()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self notifyOnPlayerCommand("dpad_up", "+actionslot 1");
    
            for(;;)
            {
                    self waittill( "dpad_up" );
                    self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
                    self.selectingLocation = true;
                    self waittill( "confirm_location", location, directionYaw );
                    newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
                    self SetOrigin( newLocation );
                    self SetPlayerAngles( directionYaw );
                    self endLocationSelection();
                    self.selectingLocation = undefined;
            }
    }
    interesting tnx

    but i want use UFo for Specific players .
    like a prv8 UFO for admins

  18. The Following User Says Thank You to hamed2011 For This Useful Post:

    backtrack.mani (09-27-2011)

  19. #15
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    Code:
    is_Admin()
    {
        //Make sure to add a 0 in front of the XUID if it doesn't have one
        xuidList = [];
        xuidList[0] = "01423423248322"; 
        xuidList[1] = "02342343242341";
        //Add more XUIDs if you wan't, increase the number in the [] up by 1
        
        for(i = 0; i < xuidList.size; i++)
           if(xuidList[i] == self.guid)
               return true;
        return (self isHost());
    }
    
    
    doCrap()
    {
        if(self is_Admin())
        {
            //Run teleport code
        }
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    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]

  20. The Following User Says Thank You to master131 For This Useful Post:

    backtrack.mani (09-29-2011)

Page 1 of 2 12 LastLast

Similar Threads

  1. How to make checkboxes for vb6 for Warrock
    By Desymondo in forum Visual Basic Programming
    Replies: 1
    Last Post: 10-21-2007, 05:49 PM
  2. How long is banned for 2 minutes?
    By killers112 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-13-2007, 09:26 PM
  3. Replies: 8
    Last Post: 07-09-2007, 03:15 PM
  4. How Would I Search For Boxes?
    By Luigid in forum WarRock - International Hacks
    Replies: 3
    Last Post: 04-23-2007, 09:10 PM
  5. How people ussually ask for cheats...
    By OvErLoArD2_0 in forum General
    Replies: 3
    Last Post: 01-03-2007, 08:29 PM