Home » Renegade Discussions » Mod Forum » Weapon Drops/Keeping the Weapon
Re: Weapon Drops/Keeping the Weapon [message #363099 is a reply to message #361001] |
Sun, 14 December 2008 01:22 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma:
|
General (3 Stars) |
|
|
Bump
This part of the code keeps crashing the server when a player dies does anyone know why.
GameObject *player = Get_GameObj(Get_Int_Parameter("ID"));
if (Has_Weapon(player,"Weapon_AutoRifle_Player"))
this->miniGunGdi = true;
else
this->miniGunGdi = false;
if (Has_Weapon(player,"Weapon_AutoRifle_Player_Nod"))
this->miniGunNod = true;
else
this->miniGunNod = false;
if (Has_Weapon(player,"Weapon_Chaingun_Player"))
this->chainGunGdi = true;
else
this->chainGunGdi = false;
if (Has_Weapon(player,"Weapon_Chaingun_Player_Nod"))
this->chainGunNod = true;
else
this->chainGunNod = false;
if (Has_Weapon(player,"Weapon_ChemSprayer_Player"))
this->chemSprayer = true;
else
this->chemSprayer = false;
if (Has_Weapon(player,"CNC_Weapon_Flamethrower_Player"))
this->flameThrower = true;
else
this->flameThrower = false;
if (Has_Weapon(player,"Weapon_GrenadeLauncher_Player"))
this->grenadeLauncher = true;
else
this->grenadeLauncher = false;
if (Has_Weapon(player,"Weapon_LaserChaingun_Player"))
this->laserChainGun = true;
else
this->laserChainGun = false;
if (Has_Weapon(player,"Weapon_LaserRifle_Player"))
this->laserRifle = true;
else
this->laserRifle = false;
if (Has_Weapon(player,"Weapon_MineProximity_Player"))
this->mineProxy = true;
else
this->mineProxy = false;
if (Has_Weapon(player,"Weapon_PersonalIonCannon_Player"))
this->persIonCannon = true;
else
this->persIonCannon = false;
if (Has_Weapon(player,"Weapon_Railgun_Player"))
this->railGun = true;
else
this->railGun = false;
if (Has_Weapon(player,"Weapon_RamjetRifle_Player") || Has_Weapon(player,"CnC_Weapon_RamjetRifle_Player"))
this->ramjet = true;
else
this->ramjet = false;
if (Has_Weapon(player,"Weapon_RepairGun_Player") || Has_Weapon(player,"CnC_Weapon_RepairGun_Player_Special"))
this->repairGun = true;
else
this->repairGun = false;
if (Has_Weapon(player,"Weapon_RocketLauncher_Player"))
this->rocketLauncher = true;
else
this->rocketLauncher = false;
if (Has_Weapon(player,"CnC_Weapon_RocketLauncher_Player"))
this->rocketGunner = true;
else
this->rocketGunner = false;
if (Has_Weapon(player,"Weapon_Shotgun_Player"))
this->shotGun = true;
else
this->shotGun = false;
if (Has_Weapon(player,"Weapon_SniperRifle_Player"))
this->sniperRifle = true;
else
this->sniperRifle = false;
if (Has_Weapon(player,"Weapon_TiberiumAutoRifle_Player"))
this->tibAutoRifle = true;
else
this->tibAutoRifle = false;
if (Has_Weapon(player,"Weapon_TiberiumFlechetteGun_Player"))
this->flechetteGun = true;
else
this->flechetteGun = false;
if (Has_Weapon(player,"Weapon_VoltAutoRifle_Player"))
this->voltAutoRifleGdi = true;
else
this->voltAutoRifleGdi = false;
if (Has_Weapon(player,"Weapon_VoltAutoRifle_Player_Nod"))
this->voltAutoRifleNod = true;
else
this->voltAutoRifleNod = false;
}
|
|
|
|
|
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 00:33:53 MST 2024
Total time taken to generate the page: 0.01895 seconds
|