Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Little c++ coding help needed please
Little c++ coding help needed please [message #417187] Sun, 10 January 2010 13:12 Go to previous message
Raptor RSF is currently offline  Raptor RSF
Messages: 210
Registered: July 2007
Location: Netherlands
Karma:
Recruit
Why is Get_Points not giving me the points? Do i do something wrong? (Its for a custom HUD...)


	// Gets the points from	the player or vehicle
	GameObject *obj = Get_Vehicle_Return((GameObject *)(*TheStar)->obj);
	float current_points = 0;
	if (Get_Vehicle(obj))
	{
		current_points = Commands->Get_Points(Get_Vehicle(obj));
	}
	else
	{
		current_points = Commands->Get_Points(obj);
	}



Rencom server Fan - Marathon#1

http://bfbc2.statsverse.com/sig/clean1/pc/Raptor_RSF.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Request]Scripts
Next Topic: SCUD Storm is public BETA
Goto Forum:
  


Current Time: Mon Dec 30 02:54:17 MST 2024

Total time taken to generate the page: 0.00944 seconds