Home » Renegade Discussions » Mod Forum » Weapon Drops/Keeping the Weapon
Re: Weapon Drops/Keeping the Weapon [message #361319 is a reply to message #361001] |
Thu, 04 December 2008 06:44 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma:
|
General (1 Star) |
|
|
You could also replace
if (rnd <= 5)
{
Commands->Apply_Damage(sender,99999,"Explosion_Mine_Remote_01",0);
char input[256];
_snprintf(input,sizeof(input), "ppage %d [RC] You picked up a bomb-backpack, haha its blowed.", Get_Player_ID(sender));
Console_Input(input);
}
With
if (rnd <= 0)
{
Commands->Apply_Damage(sender,99999,"Explosion_Mine_Remote_01",0);
char input[256];
_snprintf(input,sizeof(input), "ppage %d [RC] You picked up a bomb-backpack, haha its blowed.", Get_Player_ID(sender));
Console_Input(input);
}
So you can easily set it back on if you deside to use it later
This is always FALSE because the random number can't become 0. The range is only 1-100 (for all ppl that don't know much about programming)
|
|
|
|
|
Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: reborn on Tue, 02 December 2008 00:18
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Hex on Tue, 02 December 2008 01:11
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: reborn on Tue, 02 December 2008 01:48
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: reborn on Tue, 02 December 2008 09:46
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Wed, 03 December 2008 01:16
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Scrin on Wed, 03 December 2008 01:17
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Omar007 on Wed, 03 December 2008 10:15
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Wed, 03 December 2008 11:38
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Omar007 on Wed, 03 December 2008 11:44
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Omar007 on Wed, 03 December 2008 12:06
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Thu, 04 December 2008 02:56
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Omar007 on Thu, 04 December 2008 06:44
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Omar007 on Thu, 04 December 2008 08:18
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Sun, 14 December 2008 09:32
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Sun, 14 December 2008 12:44
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Sun, 14 December 2008 13:25
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Sun, 14 December 2008 14:15
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: cAmpa on Mon, 15 December 2008 05:23
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Sir Kane on Mon, 15 December 2008 06:50
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: Tunaman on Fri, 12 February 2010 16:58
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: reborn on Fri, 12 February 2010 07:44
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
By: reborn on Fri, 12 February 2010 08:19
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
|
|
Re: Weapon Drops/Keeping the Weapon
|
Goto Forum:
Current Time: Sun Dec 22 05:18:54 MST 2024
Total time taken to generate the page: 0.01118 seconds
|