[RELEASE] Frobski-GPS

FROBSKI-GPS / SIMPLE GPS SCRIPT

Video

Features

  • Mini map is hidden normally, only shows in cars with gps
  • Can’t install the gps in non-player cars
  • Emergancy vehicles always have gps
  • Supports multi-mechanicjobs configure in the config
  • Optimized
  • Gets saved in the owned_vehicles column in the database

7 Likes

Doing great stuff as always my man!!
Great script! Works as expected for me :slight_smile:

2 Likes

What theme is that for VS Code, seems like the new Windows Terminal

Can’t add sql:

ALTER TABLE owned_vehicles ADD COLUMN gps CHAR(10) NOT NULL DEFAULT 'false',

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1

ALTER TABLE owned_vehicles ADD COLUMN gps CHAR(10) NOT NULL DEFAULT ‘false’;

Try this

Thats works, thanks. Only proplem is Police/Ambulancejob. I add every emergency cars in config, but those cars is still without gps.

edit:
Config.EmergencyVehicles = { ---- will always have gps
“POLICE”,
“POLICE3”,
“POLICEB”,
“POLICE2”
}

thats work, but if i add ambulance, sheriff, or anything else, nothing works anymore. no errors. How i add every my police/ambulance/taxi/mechanic cars?

edit2: I Add all my cars ( police/ambulance/taxi/mechanic). About half works and about half doesn’t. For example, I don’t get a gps for any ambulance. What can cause this problem?

Works without problems, nice

Do you have the correct spawn name?

Nice Creation,The video you uploaded is not playing <3

Yes, i try multiple times and everything is ok. for example Policeb is work fine, but if i add all my police cars in list, some work, some not. And policeb not work anymore. Then i remove some cars and then policeb works again.
Also i dont get any ambulance to work.

My list (sherriff 3-12 works, nothing else works, but if i delete all others, policeb works. Also if i add police, police 2, ambulance etc, they not work if those others is in the list. Every cars in list is correct and works on server totaly fine):

Config.EmergencyVehicles = { ---- will always have gps
“ems”,
“ambulance22”,
“lsambulance”,
“lsfdambo”,
“ambulance3”,
“policeb”,
“pd”,
“pd2”,
“pd3”,
“pd4”,
“pd5”,
“pd6”,
“pd7”,
“pd8”,
“pd9”,
“pd10”,
“pbus”,
“riot”,
“mcu”,
“sbearcat”,
“sotruck”,
“sahpmoto”,
“pwes”,
“f450towtruk”,
“fdwrecker”,
“flatbed4”,
“sheriff”,
“sheriff2”,
“sheriff3”,
“sheriff4”,
“sheriff5”,
“sheriff6”,
“sheriff7”,
“sheriff8”,
“sheriff9”,
“sheriff11”,
“sheriff12”
}

thx for ur sharing。but can I got your notif scripts?

where can i see the car i am tracking ? and how can i make the item useable ?

ALTER TABLE owned_vehicles ADD COLUMN gps CHAR(10) NOT NULL DEFAULT ‘false’;