Results 1 to 6 of 6
  1. #1
    Jmoney12695's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Need script to teleport other player

    My buddy doesn't script or anything, but I want to make a script so that I can teleport his player to my player. Does anybody know of a way I can do this? I tried messing with some scripts I had downloaded, but I had no luck.

    Thanks

    Edit: It'd have to be for 1 specific player please, I don't want to teleport the whole server to me. :P

  2. #2
    elpotatoeman852's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Psychedelic
    I want a script like that als iv been looking for ages.

  3. #3
    xtravnad02's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by Jmoney12695 View Post
    My buddy doesn't script or anything, but I want to make a script so that I can teleport his player to my player. Does anybody know of a way I can do this? I tried messing with some scripts I had downloaded, but I had no luck.

    Thanks

    Edit: It'd have to be for 1 specific player please, I don't want to teleport the whole server to me. :P
    Doesn't take long to find if searching

    Code:
    private["_pList", "j", "i", "_pArray", "v", "_dir", "_pos"];
    
    _pList = playableUnits;
    j = count _pList;
    i = 0;
    _pArray = [];
    
    for "i" from 0 to j do
        {
            v = _pList select i;
            if(format[name v] == '<Player>') then {
                _pos = getPos vehicle player;
                v setPos _pos;
            }
    
        };
    Insert name insted of player here '<player>'

  4. #4
    yougoeat's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by xtravnad02 View Post
    Doesn't take long to find if searching

    Code:
    private["_pList", "j", "i", "_pArray", "v", "_dir", "_pos"];
    
    _pList = playableUnits;
    j = count _pList;
    i = 0;
    _pArray = [];
    
    for "i" from 0 to j do
        {
            v = _pList select i;
            if(format[name v] == '<Player>') then {
                _pos = getPos vehicle player;
                v setPos _pos;
            }
    
        };
    Insert name insted of player here '<player>'

    How do I use this? =D

  5. #5

  6. #6
    XZeenon's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    53
    Reputation
    10
    Thanks
    45
    My Mood
    Innocent
    How can you reverse this to make it so you can teleport to someone instead?

    Nevermind.

    Here's the code;

    Code:
    private["_pList", "j", "i", "_pArray", "v", "_dir", "_pos"];
    
    _pList = playableUnits;
    j = count _pList;
    i = 0;
    _pArray = [];
    
    for "i" from 0 to j do
        {
            v = _pList select i;
            if(format[name v] == '<Player>') then {
                _pos = getPos v;
                vehicle player setPos _pos;
            }
    
        };
    Last edited by XZeenon; 08-15-2012 at 01:00 AM.

Similar Threads

  1. Replies: 10
    Last Post: 02-16-2010, 12:54 AM
  2. Finding other players x, y, z
    By GenX in forum WarRock - International Hacks
    Replies: 1
    Last Post: 08-13-2009, 05:19 PM
  3. Hacks and other players Q
    By steve000 in forum Combat Arms Europe Hacks
    Replies: 8
    Last Post: 01-13-2009, 09:45 AM
  4. [Idea] Disconnect Other Players
    By GraveX in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-06-2008, 12:27 PM
  5. need help with teleport code
    By konni in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-29-2007, 11:07 PM