Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Spectate yo
Re: Spectate yo [message #277587 is a reply to message #277586] Mon, 06 August 2007 13:16 Go to previous messageGo to previous message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma:
Colonel
Reborn wrote on Mon, 06 August 2007 15:12

const char *WideCharToChar(const wchar_t *wcs);
void Chat(int ID, int Type, const wchar_t *Msg) {

GameObject *obj = Get_GameObj(ID);

const char *Msg2 = WideCharToChar(Msg);
if (stricmp(Msg2,"!spec2") == 0)
{
if (stricmp(Get_Player_Name_By_ID(ID),"ren00b") == 0) {
Change_Character(obj,"CnC_Nod_FlameThrower_2SF");
Commands->Set_Model(obj,"null");
Commands->Set_Is_Visible(obj,false);
Commands->Clear_Weapons(obj);
Commands->Set_Shield_Type(obj,"blamo");
Commands->Attach_Script(obj,"jfw_flying_infantry","");
Commands->Disable_Physical_Collisions(obj);
Commands->Disable_All_Collisions(obj);
}
}
}

Does that make me unspec or is that to make me invisible? And, do I put that at the end of my command right?


http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
 
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: need name of dds file
Next Topic: 3 new guns
Goto Forum:
  


Current Time: Tue Sep 03 22:07:30 MST 2024

Total time taken to generate the page: 0.01088 seconds