Results 1 to 3 of 3
  1. #1
    Deathray75's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Sick

    Exclamation Spawn aircraft at same altitude on different maps

    hey guys

    im making a custom kill streak now this can only work at a certain altitude of a spawned plane. now there 2 ways you can help me

    1)give me the code that will make it no matter what map im in the hight of a spwaned aircraft will be the same

    2) (the one i don't preffer) tell me a code to find if the map = Afghan or high rise or any other map so that it will work out so like this

    if Afghanistan

    plane = spawn (0, 0, 1000);

    if highrise

    plane = spawn (0, 0, 5000);

    thank you very much

    Peace
    Last edited by Deathray75; 12-01-2010 at 12:27 PM. Reason: Title wasn't a good one

  2. #2
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    if(getDvar("mapname") == "mp_namehere"){
    //stuff
    }

  3. The Following User Says Thank You to Arasonic For This Useful Post:

    Deathray75 (12-01-2010)

  4. #3
    Deathray75's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Sick
    Quote Originally Posted by Arasonic View Post
    if(getDvar("mapname") == "mp_namehere"){
    //stuff
    }
    LOL how dumb am i thank man U ARE LEGEND (i thought you have to change the mapname)
    Last edited by Deathray75; 12-01-2010 at 02:14 PM.