this script alow you to get speed from vehicle near you, and tell to you the speed and the plate.
Also speed comes in 2 color:
green when vehicle are in safe speed,red when are in excessive speed.
Made for RP games.
7 - l
8 - s
9 - d
10 - Page up
11 - Page down
12 - mouse move down
13 - mouse move right
18 - space or enter
19 - L Alt
20 - z
21 - L Shift
23 - f
32 - w
34 - a
36 - L Ctrl
39 - [
40 - ]
44 - q
45 - r
51 - e
56 - F9
57 - F10
58 - g
60 - num pad 5
61 - num pad 8
197 - ]
199 - p
202 - Backspace
205 - q
206 - e
209 - L Shift
211 - tab
213 - home
214 - del
215 - enter
216 - spacebar
217 - Caps lock
224 - L Ctrl
232 - w
233 - s
234 - a
235 - d
236 - v
239 - Cam +
240 - Cam -
241 and 242 for the mouse wheel up and down.
243 - ~
244 - m
245 - t
246 - y
249 - n
329 - LMouseBtn
330 - 331 - RMouseBtn
GetClosestVehicle() does not work for players. I used native GetEntityPlayerIsFreeAimingAt(), for a radar “gun,” and checked if entity is a vehicle, occupied, etc.