[Script] Fun Script [message #368129] |
Tue, 20 January 2009 14:55 |
|
mrãçķz
Messages: 3069 Registered: August 2007
Karma: 0
|
General (3 Stars) Permabanned for trying and failing DDoS |
|
|
By typing !Boom, you will get unlimited C4´s and Remotes, and you can throw about 100 of them in 1 Minute lol. It works ServerSide.
Chat Command:
class ExrefillChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
GameObject *obj = Get_GameObj(ID);
Commands->Attach_Script(obj, "Explosive_Refill", "");
}
};
ChatCommandRegistrant<ExrefillChatCommand> ExrefillChatCommandReg("!boom",CHATTYPE_ALL,0,GAMEMODE_AOW);
.CPP
void Explosive_Refill::Created(GameObject *obj)
{
Commands->Start_Timer(obj,this,0.1,1);
}
void Explosive_Refill::Timer_Expired(GameObject *obj,int number)
{
if (number == 1){
Commands->Give_Powerup(obj, "CnC_POW_MineTimed_Player_01",false);
//Commands->Give_Powerup(obj, "CnC_POW_MineTimed_Player_02",false);
Commands->Give_Powerup(obj, "CnC_POW_MineRemote_01",false);
//Commands->Give_Powerup(obj, "CnC_POW_MineRemote_02",false);
Commands->Attach_Script(obj, "Explosive_Refill", "");
}
}
ScriptRegistrant<Explosive_Refill> Explosive_Refill_Registrant("Explosive_Refill","");
.H
class Explosive_Refill : public ScriptImpClass {
void Created(GameObject *obj);
void Timer_Expired(GameObject *obj,int number);
};
|
|
|
|
|
Re: [Script] Fun Script [message #368513 is a reply to message #368129] |
Fri, 23 January 2009 07:36 |
|
ErroR
Messages: 2984 Registered: March 2008 Location: Moldova
Karma: 0
|
General (2 Stars) |
|
|
doesn't it really lag ur server? i mean i played st0rm coop and when u stand on the ammo crate u can throw c4s very very fast.. and when all of them start to blow SFPS drops to 1 and realy lags for some time
[Updated on: Fri, 23 January 2009 07:37] Report message to a moderator
|
|
|
Re: [Script] Fun Script [message #368518 is a reply to message #368513] |
Fri, 23 January 2009 07:47 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
ErroR wrote on Fri, 23 January 2009 07:36 | doesn't it really lag ur server? i mean i played st0rm coop and when u stand on the ammo crate u can throw c4s very very fast.. and when all of them start to blow SFPS drops to 1 and realy lags for some time
|
Thanks for pointing this out. I'll see what we can do to fix it. lol
|
|
|
|
|
|
Re: [Script] Fun Script [message #369506 is a reply to message #368518] |
Thu, 29 January 2009 20:54 |
|
samous
Messages: 616 Registered: August 2008
Karma: 0
|
Colonel |
|
|
Zack wrote on Fri, 23 January 2009 06:47 |
ErroR wrote on Fri, 23 January 2009 07:36 | doesn't it really lag ur server? i mean i played st0rm coop and when u stand on the ammo crate u can throw c4s very very fast.. and when all of them start to blow SFPS drops to 1 and realy lags for some time
|
Thanks for pointing this out. I'll see what we can do to fix it. lol
|
not for long.
Samous Ind. modding group website:
and Facebook Page: here
|
|
|