Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Veh names at hud
Re: Veh names at hud [message #397144 is a reply to message #397138] Wed, 05 August 2009 18:41 Go to previous messageGo to previous message
dr3w2 is currently offline  dr3w2
Messages: 485
Registered: September 2006
Location: Ottawa,Canada
Karma:
Commander
		GameObject *obj = Get_Vehicle_Return((GameObject *)(*TheStar)->obj);
		char veh[250];
		sprintf(veh,"%s",Get_Translated_Preset_Name(obj));



That should work. Haven't tested it.
It should output the vehicle name OR the actual preset name like gdi_minigunner into the char array veh. I'm sure there's probebly a better or more specific way to do it ...


n00bstories Server Administrator

[Updated on: Wed, 05 August 2009 18:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Diffrent spawners
Next Topic: Needing help editing Nod vehicle logo
Goto Forum:
  


Current Time: Fri May 31 18:03:49 MST 2024

Total time taken to generate the page: 0.00768 seconds