Results 1 to 5 of 5
  1. #1
    lior19940's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    10

    Help with the "waittill" command

    Ok, so I have this example thread:

    ExampleThread();
    {
    level waittill ( "nukeDetonated" );

    End Game (just for example)

    }

    I want the server to use this "End Game" Code I typed in only after ANY nuke detonates in the game... But when I run the server it gives me a compile error (Bad Syntx).

    And this Example thread isnt linked to any other thread... I want this thread to activate itself automaticly after a nuke has been detonated in the game... Thanks in advance!!!

  2. #2
    Chijiru's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    9
    Code:
    self notify ( "nukeDetonated" ); // not sure, better ask the pros around here.

  3. #3
    PP_CrazyApple's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    851
    Reputation
    28
    Thanks
    416
    My Mood
    Innocent
    Quote Originally Posted by Chijiru View Post
    Code:
    self notify ( "nukeDetonated" ); // not sure, better ask the pros around here.
    Yea, under that, write your detonation code, then you wont have the bad syntax error.

  4. #4
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    For the syntax error, look for too few/many of
    {}
    ()
    " "
    ;

  5. #5
    rkaf's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    OPEN RIGHT NOW!! <--- ADD MPGHRKAF
    Posts
    748
    Reputation
    73
    Thanks
    1,633
    My Mood
    Yeehaw
    Quote Originally Posted by lior19940 View Post
    Ok, so I have this example thread:

    ExampleThread();
    {
    level waittill ( "nukeDetonated" );

    End Game (just for example)

    }

    I want the server to use this "End Game" Code I typed in only after ANY nuke detonates in the game... But when I run the server it gives me a compile error (Bad Syntx).

    And this Example thread isnt linked to any other thread... I want this thread to activate itself automaticly after a nuke has been detonated in the game... Thanks in advance!!!
    use ffviewer open the common_mp.ff / search for the _nuke file and try and and find the proper "nukedetonation" command and just fix it up from there i might look into this later

Similar Threads

  1. [Help Request] i need help with the hack im using
    By kingster626 in forum Combat Arms Help
    Replies: 12
    Last Post: 06-18-2011, 10:15 PM
  2. [Solved] Help With The "onBlockAdded" Command
    By mystery2k10 in forum Minecraft Help
    Replies: 3
    Last Post: 05-25-2011, 03:41 AM
  3. I need help with the sticky bomb command
    By HaxAttaxxx in forum Vindictus Help
    Replies: 4
    Last Post: 05-19-2011, 03:18 PM
  4. [help] with the fucking 3 weapons
    By D4nny in forum WarRock - International Hacks
    Replies: 15
    Last Post: 07-25-2007, 12:30 AM
  5. Need help with the CE
    By Piebringer in forum BattleOn Games Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 05-06-2007, 10:50 PM