Home » Renegade Discussions » Mod Forum » [script]Code Release - Kamikaze Suit Crate
Re: Code Release - Kamikaze Suit Crate [message #302900 is a reply to message #302788] |
Thu, 13 December 2007 11:04 ![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/3415.gif) |
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma:
|
General (3 Stars) |
|
|
Yeah, sorry math ![Sad](images/smiley_icons/icon_sad.gif)
Anyway, madrocks...
class sbhChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
GameObject *obj = Get_GameObj(ID);
float Credits = Commands->Get_Money(obj);
int Team = Get_Object_Type(obj);
GameObject *hon = Find_Soldier_Factory(0);
Vector3 position;
position = Commands->Get_Position(obj);
if(hon){
if(Credits >= 2000 && (Team == 0) ){
Commands->Give_Money(obj,-2000,false);
Change_Character(obj,"CnC_Nod_FlameThrower_2SF");
Commands->Set_Position(obj,position);
}
else{
Console_Input(StrFormat("ppage %d You have not been charged for this purchase because you did not meet requirements.",Get_Player_ID(obj)).c_str());
}
}
}
};
ChatCommandRegistrant<sbhChatCommand> sbhChatCommandReg("!sbh",CHATTYPE_TEAM,0,GAMEMODE_AOW);
I havn't looked at your code yet hex, looking foward to it
[Updated on: Thu, 13 December 2007 11:05] Report message to a moderator
|
|
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
[script]Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Wed, 12 December 2007 19:53
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 05:20
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Thu, 13 December 2007 09:20
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Thu, 13 December 2007 09:24
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 09:29
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 09:43
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: cnc95fan on Thu, 13 December 2007 09:50
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 10:20
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 10:53
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Thu, 13 December 2007 11:03
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Thu, 13 December 2007 11:04
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Hex on Tue, 22 January 2008 16:02
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Darknes2 on Tue, 22 January 2008 17:36
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Tue, 22 January 2008 17:59
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: HORQWER on Tue, 22 January 2008 19:33
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Tue, 22 January 2008 19:39
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: HORQWER on Wed, 23 January 2008 12:50
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Darknes2 on Mon, 10 March 2008 16:19
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: cpjok on Tue, 11 March 2008 03:48
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Craziac on Wed, 12 March 2008 18:29
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Ethenal on Wed, 12 March 2008 21:29
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: cpjok on Thu, 13 March 2008 09:20
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Craziac on Thu, 13 March 2008 19:02
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: cpjok on Fri, 14 March 2008 05:21
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: Craziac on Fri, 14 March 2008 16:35
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: cpjok on Sat, 15 March 2008 03:31
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: Code Release - Kamikaze Suit Crate
By: reborn on Sat, 15 March 2008 04:06
|
Goto Forum:
Current Time: Fri Aug 16 10:50:02 MST 2024
Total time taken to generate the page: 0.01171 seconds
|