-
what im trying to do is i want to remove this from dropping iwx_sprint_mp
and instead of that i want to drop the stored value that is stored in the sprint function
dropWeapon()
{
current = self getcurrentweapon();
if(current != "none")
{
weapon1 = self getweaponslotweapon("primary");
weapon2 = self getweaponslotweapon("primaryb");
if(current == weapon1)
currentslot = "primary";
else
{
assert(current == weapon2);
currentslot = "primaryb";
}
clipsize = self getweaponslotclipammo(currentslot);
reservesize = self getweaponslotammo(currentslot);
if(clipsize || reservesize)
self dropItem(current);
}
}
Sprint()
{
self endon("disconnect");
self notify("start_sprinting");
sprint_weap="iwx_sprint_mp";
slot="";
if(self getcurrentweapon()==self getweaponslotweapon("primary"))
slot="primary";
else
slot="primaryb";
self.sweapon=self getcurrentweapon();
if(self.sweapon==sprint_weap || self.sweapon=="none")
return;
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules