Hack script conduire une voiture edit by moi

lolol99t555

Membre
Inscription
5 Octobre 2014
Messages
113
Réactions
5
Points
1 361
    Réponse de lolol99t555 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #1
//by Samba
ToggleDrive()
{
if (getDvar("mapname") == "mp_nuketown_2020")
{
self thread spawnDrivableCar2();
}
if (getDvar("mapname") == "mp_village")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_socotra")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_slums")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_raid")
{
self thread spawnDrivableCar4();
}
else
{

self thread spawnDrivableCar();
}
}

spawnDrivableCar()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_drone_rcxd";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}
spawnDrivableCar2()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_nuketown_2020_car01_clean";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}


spawnDrivableCar3()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_civ_car_compact_red";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}

spawnDrivableCar4()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_civ_sportscar_whole_orange";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}



Vehicle_Wait_Think()
{
self endon("disconnect");
self endon("end_car");

while(self.car["runCar"])
{
if(distance(self.origin, self.car["carEntity"].origin) < 120)
{
if(self useButtonPressed())
{
if(!self.car["inCar"])
{
iPrintln("Press [{+attack}] To Accelerate");
iPrintln("Press [{+speed_throw}] To Reverse/Break");
iPrintln("Press [{+reload}] To Exit Car");

self.car["speed"] = 0;
self.car["inCar"] = true;

self disableWeapons();
self detachAll();
self setOrigin(((self.car["carEntity"].origin) + (AnglesToForward(self.car["carEntity"].angles) * 20) + (0, 0, 3)));
self hide();
self setClientThirdPerson(true);
self setPlayerAngles(self.car["carEntity"].angles + (0, 0, 0));
self PlayerLinkTo(self.car["carEntity"]);

thread Vehicle_Physics_Think();
thread Vehicle_Death_Think();

wait 1;
}
else
thread Vehicle_Exit_Think();
}
}
wait .05;
}
}

Vehicle_Physics_Think()
{
self endon("disconnect");
self endon("end_car");

self.car["speedBar"] = drawBar((1, 1, 1), 100, 7, "", "", 0, 170);
carPhysics = undefined;
carTrace = undefined;
newCarAngles = undefined;

while(self.car["runCar"])
{
carPhysics = ((self.car["carEntity"].origin) + ((AnglesToForward(self.car["carEntity"].angles) * (self.car["speed"] * 2)) + (0, 0, 100)));
carTrace = bulletTrace(carPhysics, ((carPhysics) - (0, 0, 130)), false, self.car["carEntity"])["position"];
if(self attackButtonPressed())
{
if(self.car["speed"] < 0)
self.car["speed"] = 0;

if(self.car["speed"] < 50)
self.car["speed"] += 5;

newCarAngles = vectorToAngles(carTrace - self.car["carEntity"].origin);
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
else
{
if(self.car["speed"] > 0)
{
newCarAngles = vectorToAngles(carTrace - self.car["carEntity"].origin);
self.car["speed"] -= 0.7;
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
}
if(self adsButtonPressed())
{
if(self.car["speed"] > -20)
{
if(self.car["speed"] < 0)
newCarAngles = vectorToAngles(self.car["carEntity"].origin - carTrace);

self.car["speed"] -= 0.5;
self.car["carEntity"] moveTo(carTrace, 0.2);
}
else
self.car["speed"] += 0.5;

self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
else
{
if(self.car["speed"] < -1)
{
if(self.car["speed"] < 0)
newCarAngles = vectorToAngles(self.car["carEntity"].origin - carTrace);

self.car["speed"] += 0.8;
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
}
self.car["speedBar"] updateBar(self.car["speed"]/50);
wait 0.05;
}
}

Vehicle_Death_Think()
{
self endon("disconnect");
self endon("end_car");

self waittill("death");
if(self.car["inCar"])
thread Vehicle_Exit_Think();
else
self.car["carEntity"] delete();
wait 0.2;
}

Vehicle_Exit_Think()
{
self.car["speed"] = 0;
self.car["inCar"] = false;
self.car["runCar"] = false;
self.car["spawned"] = undefined;
self.car["speedBar"] destroyElem();
self.car["carEntity"] delete();

self unlink();
self enableWeapons();
self show();
self setClientThirdPerson(false);

wait 0.3;
self notify("end_car");
}
 

seb4949

Membre
Inscription
1 Septembre 2012
Messages
1 738
Réactions
372
Points
9 876
    Réponse de seb4949 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #2
MULTI OU ZOMBIE
 

lolol99t555

Membre
Inscription
5 Octobre 2014
Messages
113
Réactions
5
Points
1 361
    Réponse de lolol99t555 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #3

seb4949

Membre
Inscription
1 Septembre 2012
Messages
1 738
Réactions
372
Points
9 876
    Réponse de seb4949 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #4
ok mercie tu va le faire ou pas
 

lolol99t555

Membre
Inscription
5 Octobre 2014
Messages
113
Réactions
5
Points
1 361
    Réponse de lolol99t555 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #5
je pense pas mais je vais voir
 

seb4949

Membre
Inscription
1 Septembre 2012
Messages
1 738
Réactions
372
Points
9 876
    Réponse de seb4949 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #6
ok mercie
 

CRUEL-MODZ

Membre Premiums
Contributeur
Inscription
28 Septembre 2014
Messages
1 017
Réactions
108
Points
6 286
    Réponse de CRUEL-MODZ Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #7
//by Samba
ToggleDrive()
{
if (getDvar("mapname") == "mp_nuketown_2020")
{
self thread spawnDrivableCar2();
}
if (getDvar("mapname") == "mp_village")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_socotra")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_slums")
{
self thread spawnDrivableCar3();
}
if (getDvar("mapname") == "mp_raid")
{
self thread spawnDrivableCar4();
}
else
{

self thread spawnDrivableCar();
}
}

spawnDrivableCar()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_drone_rcxd";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}
spawnDrivableCar2()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_nuketown_2020_car01_clean";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}


spawnDrivableCar3()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_civ_car_compact_red";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}

spawnDrivableCar4()
{
if(!isDefined(self.car["spawned"]))
{
setDvar("cg_thirdPersonRange", "300");
self.car["carModel"] = "veh_t6_civ_sportscar_whole_orange";
self.car["spawned"] = true;
self.car["runCar"] = true;
self.car["spawnPosition"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
self.car["spawnAngles"] = (0, self getPlayerAngles()[1], self getPlayerAngles()[2]);

self.car["carEntity"] = spawn("script_model", self.car["spawnPosition"]);
self.car["carEntity"].angles = self.car["spawnAngles"];
self.car["carEntity"] setModel(self.car["carModel"]);

wait .2;
thread Vehicle_Wait_Think();

}
else
iPrintln("You Can Only Spawn One Car At A Time!");
}



Vehicle_Wait_Think()
{
self endon("disconnect");
self endon("end_car");

while(self.car["runCar"])
{
if(distance(self.origin, self.car["carEntity"].origin) < 120)
{
if(self useButtonPressed())
{
if(!self.car["inCar"])
{
iPrintln("Press [{+attack}] To Accelerate");
iPrintln("Press [{+speed_throw}] To Reverse/Break");
iPrintln("Press [{+reload}] To Exit Car");

self.car["speed"] = 0;
self.car["inCar"] = true;

self disableWeapons();
self detachAll();
self setOrigin(((self.car["carEntity"].origin) + (AnglesToForward(self.car["carEntity"].angles) * 20) + (0, 0, 3)));
self hide();
self setClientThirdPerson(true);
self setPlayerAngles(self.car["carEntity"].angles + (0, 0, 0));
self PlayerLinkTo(self.car["carEntity"]);

thread Vehicle_Physics_Think();
thread Vehicle_Death_Think();

wait 1;
}
else
thread Vehicle_Exit_Think();
}
}
wait .05;
}
}

Vehicle_Physics_Think()
{
self endon("disconnect");
self endon("end_car");

self.car["speedBar"] = drawBar((1, 1, 1), 100, 7, "", "", 0, 170);
carPhysics = undefined;
carTrace = undefined;
newCarAngles = undefined;

while(self.car["runCar"])
{
carPhysics = ((self.car["carEntity"].origin) + ((AnglesToForward(self.car["carEntity"].angles) * (self.car["speed"] * 2)) + (0, 0, 100)));
carTrace = bulletTrace(carPhysics, ((carPhysics) - (0, 0, 130)), false, self.car["carEntity"])["position"];
if(self attackButtonPressed())
{
if(self.car["speed"] < 0)
self.car["speed"] = 0;

if(self.car["speed"] < 50)
self.car["speed"] += 5;

newCarAngles = vectorToAngles(carTrace - self.car["carEntity"].origin);
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
else
{
if(self.car["speed"] > 0)
{
newCarAngles = vectorToAngles(carTrace - self.car["carEntity"].origin);
self.car["speed"] -= 0.7;
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
}
if(self adsButtonPressed())
{
if(self.car["speed"] > -20)
{
if(self.car["speed"] < 0)
newCarAngles = vectorToAngles(self.car["carEntity"].origin - carTrace);

self.car["speed"] -= 0.5;
self.car["carEntity"] moveTo(carTrace, 0.2);
}
else
self.car["speed"] += 0.5;

self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
else
{
if(self.car["speed"] < -1)
{
if(self.car["speed"] < 0)
newCarAngles = vectorToAngles(self.car["carEntity"].origin - carTrace);

self.car["speed"] += 0.8;
self.car["carEntity"] moveTo(carTrace, 0.2);
self.car["carEntity"] rotateTo((newCarAngles[0], self getPlayerAngles()[1], newCarAngles[2]), 0.2);
}
}
self.car["speedBar"] updateBar(self.car["speed"]/50);
wait 0.05;
}
}

Vehicle_Death_Think()
{
self endon("disconnect");
self endon("end_car");

self waittill("death");
if(self.car["inCar"])
thread Vehicle_Exit_Think();
else
self.car["carEntity"] delete();
wait 0.2;
}

Vehicle_Exit_Think()
{
self.car["speed"] = 0;
self.car["inCar"] = false;
self.car["runCar"] = false;
self.car["spawned"] = undefined;
self.car["speedBar"] destroyElem();
self.car["carEntity"] delete();

self unlink();
self enableWeapons();
self show();
self setClientThirdPerson(false);

wait 0.3;
self notify("end_car");
}
merci du partage !!
 

molos58

Membre
Inscription
2 Janvier 2016
Messages
122
Réactions
6
Points
111
    Réponse de molos58 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #8
jai pas compris sa
 

seb4949

Membre
Inscription
1 Septembre 2012
Messages
1 738
Réactions
372
Points
9 876
    Réponse de seb4949 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #9
tu cest faire un menu gsc déja
 

molos58

Membre
Inscription
2 Janvier 2016
Messages
122
Réactions
6
Points
111
    Réponse de molos58 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #10
NN peux tu me dire comment faire?
 

seb4949

Membre
Inscription
1 Septembre 2012
Messages
1 738
Réactions
372
Points
9 876
    Réponse de seb4949 Gaming Jeux-vidéos Call of Duty 🎮 Call of Duty 9 : Black Ops 2 [BO2] Glitches, hacks, boost et tutoriaux [BO2] Hacking et modifications [BO2] Tools, eboots & offsets : script conduire une voiture edit by moi
  • #11

Haut Bas