ItsMods

Full Version: Help pls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So im trying to make a mike myers mod
Quote:Rules:
1 player goes to the top team, That's the person who is going to be it. The rest of the players go to the bottom team.
“Michael” chases everyone around the map with his knife. Thats the only weapon allowed. No one can kill “Michael”, you just have to run. You and your teammates are free to stun and flash him.
Once he kills all but one person, then the remaining player and “Michael” can both kill each other with the knife. Whoever kills each other wins. To start the next game, whoever died by “Michael” first the game before, they are it the next game.
So the problem im having is getting the last dude to get a ballistic knife after hes teammates have died (and hes last alive on his team), but i cant figure out how to make it.
Im really new to modding and made my first mod on Saturday last week, so help would be greatly appreciated. Sleepy
Not i dont know if this would work tho


PHP Code:
if(level.aliveCount["axis"] == 1)
    {
        
self thread lastPerson();    
                                
wait 0.5;
    }

LastPerson()
{
  
self TakeAllWeapons();
  
self giveWeapon("Ballistic_knife_mp");  //  Not sure the proper ballstic knife is
  
self giveWeapon("knife_mp");
}
/* then in ur other thread with the other people go like

 self notify("LastPerson");
 self endon("lastPeson");
*/ 

Im new to modding as well but this is what i've learned so far
(02-01-2011, 05:14)No One Wrote: [ -> ]Not i dont know if this would work tho


PHP Code:
if(level.aliveCount["axis"] == 1)
    {
        
self thread lastPerson();    
                                
wait 0.5;
    }

LastPerson()
{
  
self TakeAllWeapons();
  
self giveWeapon("Ballistic_knife_mp");  //  Not sure the proper ballstic knife is
  
self giveWeapon("knife_mp");
}
/* then in ur other thread with the other people go like

 self notify("LastPerson");
 self endon("lastPeson");
*/ 

Im new to modding as well but this is what i've learned so far
knife_mp is not necessary and u may need to give max ammo or remove all ammo of ballistic knife
(02-01-2011, 06:11)alistair3149 Wrote: [ -> ]
(02-01-2011, 05:14)No One Wrote: [ -> ]Not i dont know if this would work tho


PHP Code:
if(level.aliveCount["axis"] == 1)
    {
        
self thread lastPerson();    
                                
wait 0.5;
    }

LastPerson()
{
  
self TakeAllWeapons();
  
self giveWeapon("Ballistic_knife_mp");  //  Not sure the proper ballstic knife is
  
self giveWeapon("knife_mp");
}
/* then in ur other thread with the other people go like

 self notify("LastPerson");
 self endon("lastPeson");
*/ 

Im new to modding as well but this is what i've learned so far
knife_mp is not necessary and u may need to give max ammo or remove all ammo of ballistic knife

he can do that if he wants to use it