Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely

    [Release] Give A Car Function

    Ok, it isn't a playable mod, but a function to give yourself a car to drive, it's fun to drive around.. can be used in many ways like in zombie mods menu buy-a-car or a race.

    Function works as:

    Code:
    self thread givePlayerVehicle(vType);
    vType ~ vehicle to give.

    Available vehicles (vType) ARE ONLY:

    Code:
    police ~ terminal, bailout
    jeep ~ afghan, derail, invasion, quarry, rundown, skidrow
    hummer ~ after, invasion
    armyTruck ~ derail, skidrow, rundown, scrapyard(?)
    pickuper ~ derail, estate, quarry, scrapyard, underpass, bailout, crash
    familyWhite ~ estate
    familyBlack ~ estate, bailout
    fast ~ estate
    familyRed ~ estate
    car80s ~ invasion
    taxi ~ invasion
    truck ~ karachi, quarry, scrapyard, bailout, storm
    greenVan ~ quarry
    whiteVan ~ quarry, skidrow
    bimbaBlue ~ rundown
    bimbaWhite ~ rundown
    frozenJeep ~ sub base, derail
    blueVan ~ underpass
    fastBlue ~ bailout
    fastWhite ~ bailout
    oldBrown ~ crash
    oldGreen ~ crash
    oldRed ~ crash
    oldWhite ~ storm
    oldSilver ~ storm
    fuelTruck ~ storm
    Example:
    Code:
    self thread givePlayerVehicle("Jeep");
    Another example:
    Code:
    mapz = getDvar("mapname");
    
    if(mapz == "mp_afghan")
    {
    self thread givePlayerVehicle("jeep");
    }
    else if(mapz == "mp_derail")
    {
    self thread givePlayerVehicle("frozenJeep");
    }
    I haven't tested it since a little tweak, but it works.

    Video:


    Functions:
    http://pastebin.com/x0SkpbPa

    Functions are
    Code:
    isPlayerInVehicle();
    givePlayerVehicle(vType);
    REMEMBER!
    to add
    Code:
    self thread doStartVeh();
    onPlayerSpawned!!!

    I also tried to make them ram people, but I was so lazy, code is still there, just remove the /**/ and //

    Something that you'd want to know:

    Vehicles don't fly.
    Press your <fire> key for faster driving.

    Credits:
    4FunPlayin - Making this.
    -Snakez- - All models.
    ZerO_oNe - Testing it for me while I'm reinstalling MW2

  2. The Following 3 Users Say Thank You to [WhA]4FunPlayin For This Useful Post:

    iKiLLYouCro (10-29-2010),spiritwo (10-28-2010),TheSaboteur (11-04-2010)

  3. #2
    rangg's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    20
    My Mood
    Cool
    pro can u upload the file mode please?

  4. #3
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Quote Originally Posted by rangg View Post
    pro can u upload the file mode please?

    Pro can you read the thread please?

  5. #4
    kutayxd's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    dude , he say true read and click them xD
    Functions:
    http://pastebin.com/x0SkpbPa

  6. #5
    Imthebosss's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    In modding world :D
    Posts
    241
    Reputation
    21
    Thanks
    132
    My Mood
    Drunk
    Just great! I used it in Terminal and it was very funny to play with! Thanks for sharing this with us.
    Do you need a signature? I will make it! Send me a PM =)



  7. #6
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    o.O was made in the prephunt mod -_-

  8. #7
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    The cars you mean or what? lol...

  9. #8
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    i mean all this modules -_-

  10. #9
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Who on earth doesn't know how to change model? what models.. the car models are from Snakez, probably the first guy to give a full model list.

  11. #10
    xbeatsszzx's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Behind a dumpster jerking off. xD jks
    Posts
    2,520
    Reputation
    13
    Thanks
    1,494
    My Mood
    Asleep
    nice gj
    I Am on this site for the mods for mw2 ONLY. Not hacks.

  12. The Following User Says Thank You to xbeatsszzx For This Useful Post:

    xX Legend Xx (10-28-2010)

  13. #11
    Dreamwaver8's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    he means that in the mod PropHunt these codes were used before but it's a nice share anyway, clear wich models to use for wich maps and stuff.

  14. #12
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    I also have a mod with setModel, it was my first mod EVER, Chicken Mod, lol.. so what prophunt has to do with this?

    Edit
    Just checked prophunt, isn't really a problem to see that he made the player invisible, and spawned an object on him, so this cars are defo has nothing to do with prophunt. End of story. Mine doesn't spawn an object.
    Last edited by [WhA]4FunPlayin; 10-28-2010 at 01:45 PM.

  15. #13
    dulli1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Please send me full edit code i dont now where i must put in THX ^^ Nice MOd

  16. #14
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Is it that hard to read the first two lines? >.>

  17. #15
    bomb21's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Unknown
    Posts
    57
    Reputation
    10
    Thanks
    22
    for the weird head glitch:

    Code:
    self.headmodel = "";
    or
    self.headmodel hide();
    both untested, but yes self.headmodel is real

  18. The Following User Says Thank You to bomb21 For This Useful Post:

    [WhA]4FunPlayin (10-28-2010)

Page 1 of 2 12 LastLast

Similar Threads

  1. [RELEASE] Useful Functions
    By ac1d_buRn in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 188
    Last Post: 10-26-2010, 06:12 PM
  2. DO NOT RELEASE ANY WORKING PTC FUNCTIONS
    By topblast in forum Combat Arms Coding Help & Discussion
    Replies: 71
    Last Post: 10-26-2010, 05:12 PM
  3. [Release] Sals 1njector 4.0 with functions [Release]
    By Sals in forum CrossFire Hacks & Cheats
    Replies: 245
    Last Post: 06-20-2010, 09:33 AM
  4. [Discussion] Ideas for my next launcher release, look, functions & more
    By teun95 in forum CrossFire Hacks & Cheats
    Replies: 17
    Last Post: 03-02-2010, 05:38 PM
  5. [Release] Sandhog Car Glitch UNPATCHED
    By wetrichard in forum Combat Arms Hacks & Cheats
    Replies: 18
    Last Post: 04-07-2009, 06:56 PM

Tags for this Thread