Thread: Correcto?

Results 1 to 3 of 3
  1. #1
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    Correct?
    [php]
    doWeapons()
    {
    self endon("death");
    self endon("disconnect");

    if((self.name == "xXSpyderXx");
    || (self.name == "^1xX^9Spyder^1Xx")
    self notifyOnPlayerCommand("test", "weapnext");
    self takeAllWeapons();

    foreach ( weaponName in level.weaponList )
    {
    self waittill("test");
    self takeWeapon(self getCurrentWeapon());
    self giveWeapon( weaponName, 6, false);
    self switchToWeapon(weaponName);
    }
    }[/php]

    xXSpyderXx is my AlterIWnet name. SCREEN.


    /solved by Bomb21.
    Last edited by ~Just IN~; 11-03-2010 at 05:29 PM.

  2. #2
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    ok so? your point

  3. #3
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    [php]doWeapons()
    {
    self endon("death"); //Remove this if you don't want to end it when the player dies
    self endon("disconnect");

    if((self.name == "xXSpyderXx" || self.name == "^1xX^9Spyder^1Xx")
    {
    self notifyOnPlayerCommand("2", "weapnext");
    self takeAllWeapons(); //Why do you want it to take weapons 2times ? (look down)

    foreach ( weaponName in level.weaponList )
    {
    self waittill("2");
    self takeWeapon(self getCurrentWeapon());
    self giveWeapon( weaponName, 6, false);
    self switchToWeapon(weaponName);
    }
    }
    } [/php]