Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ void On_Player_Death???
Re: C++ void On_Player_Death??? [message #432194 is a reply to message #432193] Tue, 06 July 2010 14:54 Go to previous messageGo to previous message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma:
Recruit
void On_Player_Death(int i,const char *Nick) {
GameObject *obj = Get_GameObj(i);
if (Commands->Get_Player_Type(obj) == 1)
{

Commands->Attach_Script(obj, "JFW_Change_Team_On_Custom", "0");
Commands->Attach_Script(obj, "JFW_Change_Spawn_Character", "Mutant_1_Renegade");
}
};


 
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: Lua Plugin V5
Next Topic: distance between two objects c++
Goto Forum:
  


Current Time: Wed Dec 11 05:18:40 MST 2024

Total time taken to generate the page: 0.00909 seconds