Home » Renegade Discussions » Mod Forum » Spectate yo
Re: Spectate yo [message #277576 is a reply to message #277573] |
Mon, 06 August 2007 12:28 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to previous message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/20681.jpg) |
BlueThen
Messages: 2402 Registered: February 2006
Karma:
|
General (2 Stars) |
|
|
Sn1per74* wrote on Mon, 06 August 2007 14:23 | I'm still not invisible.
Quote: | else if (strncmp(Msg3,"!spectate",9) == 0) { // change 12 to how many letters command + ! is change !yourcommand to what you want
if (obj){ // LEAVE THIS VERY IMPORTANT
const char *name = Get_Player_Name(obj);
if ((strncmp(name,"Sn1per74", == 0) || (strncmp(name,"Sniperhid",9) == 0)) {
char message[500];
sprintf(message,"team2 %d -2",ID);
Console_Input(message);
Change_Character(obj,"CnC_Nod_MiniGunner_0");
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_All_Collisions(obj);
Commands->Give_Powerup(obj,"POW_AutoRifle_Player",false);
Commands->Give_Powerup(obj,"POW_Chaingun_Player",false);
Commands->Give_Powerup(obj,"POW_ChemSprayer_Player",false);
Commands->Give_Powerup(obj,"POW_Flamethrower_Player",false);
Commands->Give_Powerup(obj,"POW_GrenadeLauncher_Player",false);
Commands->Give_Powerup(obj,"POW_LaserChaingun_Player",false);
Commands->Give_Powerup(obj,"POW_MineProximity_Player",false);
Commands->Give_Powerup(obj,"POW_LaserRifle_Player",false);
Commands->Give_Powerup(obj,"POW_MineRemote_Player",false);
Commands->Give_Powerup(obj,"POW_MineTimed_Player",false);
Commands->Give_Powerup(obj,"POW_PersonalIonCannon_Player",false);
Commands->Give_Powerup(obj,"POW_Railgun_Player",false);
Commands->Give_Powerup(obj,"POW_RamjetRifle_Player",false);
Commands->Give_Powerup(obj,"POW_RepairGun_ai",false);
Commands->Give_Powerup(obj,"POW_RocketLauncher_Player",false);
Commands->Give_Powerup(obj,"POW_Shotgun_Player",false);
Commands->Give_Powerup(obj,"POW_SniperRifle_Player",false);
Commands->Give_Powerup(obj,"POW_TiberiumAutoRifle_Player",false);
Commands->Give_Powerup(obj,"POW_TiberiumFlechetteGun_Player",false);
Commands->Give_Powerup(obj,"POW_VoltAutoRifle_Player",false);
sprintf(message,"ppage %d You are now a spectator.",ID);
Console_Input(message);
}
else {
// gets here if second word was not a valid player
char message[256];
sprintf(message,"ppage %d You aren't Sn1per74!",ID);
Console_Input(message);
}
}
}
|
|
Edit:nvm
[Updated on: Mon, 06 August 2007 12:29] Report message to a moderator
|
|
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: BlueThen on Mon, 06 August 2007 11:42
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: BlueThen on Mon, 06 August 2007 11:58
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: reborn on Mon, 06 August 2007 12:07
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: BlueThen on Mon, 06 August 2007 12:11
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: reborn on Mon, 06 August 2007 12:15
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: BlueThen on Mon, 06 August 2007 12:28
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: AoBfrost on Mon, 06 August 2007 12:41
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: Hex on Mon, 06 August 2007 12:56
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: reborn on Mon, 06 August 2007 13:12
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: reborn on Mon, 06 August 2007 13:26
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: Hex on Mon, 06 August 2007 15:14
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: AoBfrost on Mon, 06 August 2007 19:23
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: reborn on Tue, 07 August 2007 09:22
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: Hex on Tue, 07 August 2007 09:55
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: Hex on Tue, 07 August 2007 12:32
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Spectate yo
By: _SSnipe_ on Thu, 09 August 2007 20:08
|
Goto Forum:
Current Time: Tue Sep 03 22:40:55 MST 2024
Total time taken to generate the page: 0.00905 seconds
|