| 
		
			| Little c++ coding help needed please [message #417187] | Sun, 10 January 2010 13:12  |  
			| 
				
				
					|  Raptor RSF Messages: 210
 Registered: July 2007
 Location: Netherlands
 
	Karma: 0
 | 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
 
 
   |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	|  |