THREAD: [CODE] Get Models Name With BulletTrace
  1. 06-17-2015, 03:33 PM
    Loz's Avatar
    Loz
    Vault dweller
    Loz's Avatar
    Loz
    Vault dweller
    553
    Posts
    10,127
    Reputation
    Dec 2013
    NextGenUpdate
    aight, this is pretty simple & im quite sure its already been done in the past,
    but its still very useful for .gsc creators & after i got asked for it earlier i decided to post this,
    enough talking, ill let the code speak (works fine on both mp/zm)


    ToggleTraceModel()
    {
    if(self.get_model==false)
    {
    self.get_model=true;
    self thread TraceModel();
    self iPrintlnBold("Model Name Gun ^2Enabled");
    self iPrintln("Press [{+speed_throw}] On Objects");
    }
    else
    {
    self.get_model=false;
    self notify("stop_get_model_name");
    self iPrintlnBold("Model Name Gun ^1Disabled");
    }
    }

    TraceModel()
    {
    self endon("disconnect");
    self endon("stop_get_model_name");

    for(;Winky Winky
    {
    if(self adsButtonPressed())
    {
    trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self);
    model_name = trace["entity"].model;
    self iPrintln("Model Name : ^2" + model_name);
    wait 1;
    }
    wait 0.05;
    }
    }


    Credits to whoever made something like this before
  2. The Following 11 Users Say Thank You to Loz For This Useful Post:

    , , , , , , , , , ,

  3. 06-17-2015, 03:38 PM
    Patrick's Avatar
    Patrick
    League Champion
    Patrick's Avatar
    Patrick
    League Champion
    1,523
    Posts
    17,912
    Reputation
    Dec 2014
    NextGenUpdate
    great release
  4. 10-04-2015, 08:51 PM
    73
    Posts
    15
    Reputation
    Jul 2015
    NextGenUpdate
    What is this exactly?
  5. 10-04-2015, 09:16 PM
    Patrick's Avatar
    Patrick
    League Champion
    Patrick's Avatar
    Patrick
    League Champion
    1,523
    Posts
    17,912
    Reputation
    Dec 2014
    NextGenUpdate
    Originally Posted by Al View Post
    What is this exactly?


    you aim at a model and it tells you the model name so you can use it Smile
  6. 10-04-2015, 09:22 PM
    akaCuzi's Avatar
    akaCuzi
    Grunt
    akaCuzi's Avatar
    akaCuzi
    Grunt
    68
    Posts
    30
    Reputation
    Sep 2015
    NextGenUpdate
    release GSC for Azza menu
  7. 10-04-2015, 10:24 PM
    73
    Posts
    15
    Reputation
    Jul 2015
    NextGenUpdate
    Originally Posted by 32085 View Post
    you aim at a model and it tells you the model name so you can use it Smile


    Like, if i aimed at an an94, would it tell me that it actually is an "An94_mp"?
  8. 10-04-2015, 11:14 PM
    Patrick's Avatar
    Patrick
    League Champion
    Patrick's Avatar
    Patrick
    League Champion
    1,523
    Posts
    17,912
    Reputation
    Dec 2014
    NextGenUpdate
    Originally Posted by Al View Post
    Like, if i aimed at an an94, would it tell me that it actually is an "An94_mp"?


    i dont know about weapons but most likely would Smile
  9. 10-05-2015, 01:36 AM
    290
    Posts
    622
    Reputation
    Jun 2015
    NextGenUpdate
    Originally Posted by Al View Post
    What is this exactly?


    Its no bumping
  10. 10-05-2015, 04:26 AM
    anthonything's Avatar
    anthonything
    Space Ninja
    anthonything's Avatar
    anthonything
    Space Ninja
    848
    Posts
    19,010
    Reputation
    Nov 2012
    NextGenUpdate
    Its funny, i actually have this code almost word for word in my hide and seek GSC. Lol. Great minds think alike
  11. 10-05-2015, 06:40 AM
    BoatyMcBoatFace's Avatar
    BoatyMcBoatFace
    Are you high?
    BoatyMcBoatFace's Avatar
    BoatyMcBoatFace
    Are you high?
    440
    Posts
    5,800
    Reputation
    Dec 2013
    NextGenUpdate
    Originally Posted by anthonything View Post
    Its funny, i actually have this code almost word for word in my hide and seek GSC. Lol. Great minds think alike


    and so is the full code you probably took from iprofamilys cod4 post Dave