Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » PT Hack Needs Fixing Server Side Preferred
PT Hack Needs Fixing Server Side Preferred [message #107901] Sat, 14 August 2004 09:51 Go to previous messageGo to previous message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma:
Recruit

class M00_PCT_Pokable_DAK : public ScriptImpClass {
   void Damaged(GameObject *obj, GameObject *damager, float damage);
   void Killed(GameObject *obj, GameObject *shooter);
   void Poked(GameObject *obj,GameObject * poker);
};

void M00_PCT_Pokable_DAK::Damaged(GameObject *obj, GameObject *damager, float damage) {
	Commands->Set_Health(obj,Commands->Get_Max_Health(obj));
	Commands->Set_Shield_Strength(obj,Commands->Get_Max_Shield_Strength(obj));
}

void M00_PCT_Pokable_DAK::Killed(GameObject *obj, GameObject *shooter) {
	//Just in case..
	Commands->Create_Object(Commands->Get_Preset_Name(obj),Commands->Get_Position(obj));
}

void M00_PCT_Pokable_DAK::Poked(GameObject *obj, GameObject *poker) {
   if (strstr(Commands->Get_Preset_Name(obj),"gdi")) Commands->Display_GDI_Player_Terminal();
   else if (strstr(Commands->Get_Preset_Name(obj),"nod")) Commands->Display_NOD_Player_Terminal();
}

ScriptRegistrant<M00_PCT_Pokable_DAK> M00_PCT_Pokable_DAK_Registrant("M00_PCT_Pokable_DAK","");


Jon, if you still needed me to make those scripts for 1.9, let me know.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Video Capturing Software..
Next Topic: OT: What has google tool bar done for you :D
Goto Forum:
  


Current Time: Sat Nov 09 07:03:05 MST 2024

Total time taken to generate the page: 0.01816 seconds