lulzmodder Posted July 7, 2015 Share Posted July 7, 2015 (edited) hnp Hash name provider(hnp) is an addon which generates vehicle/prop/weapon names using hashes. There are 3 arrays containing full lists of vehicles, props and weapons along with their hashes, there are few functions as well to get model name through their hashes. The code will be updated time to time along with the model research updates. There are approx 3284 props, 327 vehicles and 62 weapon types. The code provides instant results irrespective of huge arrays. Functions: GET_PROP_NAME(DWORD Hash, std::string& name);GET_VEHICLE_NAME(DWORD Hash, std::string& name);GET_WEAPON_NAME(DWORD Hash, std::string& name); Example: void hng(){ std::string name; GET_PROP_NAME(540021153, name); //hash for "v_prop_floatcandle"; you can convert the hash to string using, to_string function printf("Hash Name: %s", name.c_str()); //will generate an output as, " Hash Name: v_prop_floatcandle"} Source: hnp Edited July 15, 2015 by lulzmodder InfamousSabre 1 Link to comment Share on other sites More sharing options...
InfamousSabre Posted July 14, 2015 Share Posted July 14, 2015 Pretty cool, but very misleading as it doesn't "generate" anything. It just looks up the name. Link to comment Share on other sites More sharing options...
lulzmodder Posted July 15, 2015 Author Share Posted July 15, 2015 (edited) .....then I must change the name to hnp(hash name provider) Edited July 15, 2015 by lulzmodder InfamousSabre 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now