Results 1 to 5 of 5

Thread: Player see in Game Info Score

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ... connecting
    Join Date
    Nov 2014
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Player see in Game Info Score

    I have a problemm
    I have found in call of duty 2 and have the built in my mod in coduo
    and it's also when I show my weapon on a player then me the info is displayed on the player how much does he score
    but I mus very close to the player are and just because klapt that now the question how do I do that best that the distance is no issue and if I'm in a house and the other player is down and I player on because of the window display is the info is not shown to you have an ide

    PHP Code:
    PlayersSee()
    {
        
        while(
    1)
        {
            
    trace bullettrace(self geteye(),self geteye()+maps\mp\_utility::vectorscale(anglestoforward(self getPlayerAngles()),99999),true,self);
            if(
    isplayer(trace["entity"]))
            {
                if(!
    isdefined(self.info))
                {
                    
    self.info newClientHudElem(self);
                    
    self.info.alignx "center";
                    
    self.info.320;
                    
    self.info.240
                    
    self.info.alpha 1;
                    
    self.info.fontscale 0.8;
                    
    self.info.label = &"score:";
                    
    self.info setValue(trace["entity"].score);
                }
            }
            if(!
    isplayer(trace["entity"]) && isdefined(self.info))
                
    self.info destroy();
                
            
    wait 0.1;
            
        }

    Last edited by killersmiley; 7th May 2016 at 11:55.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •