Commit 9e4240f9 authored by Chris's avatar Chris

update blip name

parent ba4472ed
const player = mp.players.local
// PAINT
// x: 104.129, y: 6622.053, z: 31.486, rot: 43.44
// Mech
// x: 111.08, y: 6626.702, z: 31.444, rot: 41.8
// car repair
// let bodyHealth = vehicle.bodyHealth
// raise car
// entity.setCollision(false, true)
// Map Location
mp.blips.new(524, new mp.Vector3(111.08, 6626.702, 31.444),
{
name: "Carrucan's Customs",
color: 49,
name: "Beeker's Garage",
color: 49,
shortRange: true,
scale: 0.75,
})
// Create a service object
const service = {
model: '',
bodyHealth: '',
......@@ -77,6 +66,7 @@ const colshapeDesk = mp.colshapes.newSphere(101.069, 6618.729, 32.435, 1);
function colShapeEntered(player, shape){
// Car is registered into the garage service
if (shape === colshapeMechanic) {
// test 'foreachinrange' instead of player.vehicle for this one.
// mp.vehicles.forEachInRange(new mp.Vector3(111.08, 6626.702, 31.444), 3,
// (vehicle) => {
// service.model = vehicle.model
......@@ -312,3 +302,11 @@ mp.events.addCommand('carwash', (player) => {
// Mansion front door x: -386.918, y: 504.222, z: 120.413, rot: 144.28
// ranger station x: 373.913, y: 795.822, z: 186.836, rot: 358.23
// Air Force Base x: -2349.024, y: 3269.134, z: 32.811, rot: 315.41
// PAINT
// x: 104.129, y: 6622.053, z: 31.486, rot: 43.44
// Mech
// x: 111.08, y: 6626.702, z: 31.444, rot: 41.8
// car repair
// let bodyHealth = vehicle.bodyHealth
// raise car
// entity.setCollision(false, true)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment