[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:
vType ~ vehicle to give.
Available vehicles (vType) ARE ONLY:
Example:
Another example:
I haven't tested it since a little tweak, but it works.
Video:
Functions:
http://pastebin.com/x0SkpbPa
Functions are
REMEMBER!
to add
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
Function works as:
Code:
self thread givePlayerVehicle(vType);
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
Code:
self thread givePlayerVehicle("Jeep");
Code:
mapz = getDvar("mapname");
if(mapz == "mp_afghan")
{
self thread givePlayerVehicle("jeep");
}
else if(mapz == "mp_derail")
{
self thread givePlayerVehicle("frozenJeep");
}
Video:
Functions:
http://pastebin.com/x0SkpbPa
Functions are
Code:
isPlayerInVehicle(); givePlayerVehicle(vType);
to add
Code:
self thread doStartVeh();
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



THX ^^ Nice MOd