Results 1 to 6 of 6
  1. #1
    egodsk's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    3
    My Mood
    Bashful

    Range from Player ??

    Hey Guys

    I was thinking if u can make so if u are 2 feet away from a player there will come a text up on the screen saying "You are 2 Feet Away from and then the player name ??


    Thanks !
    /yea DeMani That's me /yea

  2. #2
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    distance(player1, player2)

  3. #3
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Discussion is that way ->

    [php]
    CallThisAtOnPlayerConnect()
    {
    self.nearest = 0;

    sDistance = self createFontString( "bigfixed", 0.6 );
    sDistance setPoint( "RIGHT", "RIGHT", -90, 165 );
    for(;{
    foreach(player in level.players){
    player checkDist(self);}
    wait 0.05;
    sDistance setText("Nearest player: " +self.nearest);}
    }

    checkDist(ownar)
    {
    dist = Distance2D( self.origin, owner.origin );
    if(ownar.nearest < dist)
    ownar.nearest = dist;
    }[/php]

    suppose this could work. anyways it took a while to put that code together
    www.YouTube.com/MpKiller100

  4. #4
    egodsk's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    3
    My Mood
    Bashful
    Didnt work just give someting that it dont know what the "owner" colud mean
    /yea DeMani That's me /yea

  5. #5
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by egodsk View Post
    Didnt work just give someting that it dont know what the "owner" colud mean
    what? grammars
    www.YouTube.com/MpKiller100

  6. #6
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Quote Originally Posted by AZUMIKKEL View Post
    what? grammars

Similar Threads

  1. From player to one guy
    By Arasonic in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 12-21-2010, 03:51 PM
  2. From player to self
    By Arasonic in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 2
    Last Post: 11-20-2010, 06:18 PM
  3. Replies: 61
    Last Post: 06-03-2010, 12:05 PM
  4. Be Carful From Those PLayers :-
    By Bentio_MeHackER in forum Combat Arms Europe Hacks
    Replies: 7
    Last Post: 03-20-2009, 07:09 AM