glitchdetector icon

GTA V "ALAN 0" Plate Bug explanation

glitchdetector | PRO | 10/13/20 04:14:09 PM UTC | 0 ⭐ | 437 👁️ | Never ⏰ | []
text |

1.31 KB

|

None

|

0 👍

/

0 👎

Regarding the ALAN 0 plate bug
Appears to occur when the vehicle type does not have any loaded plates already
When the vehicle is spawned with an invalid plate index (-1 for example) this will occur
 Test code (FiveM):
```lua
RequestModel("sultanrs")
while not HasModelLoaded("sultanrs") do Wait(0) end
local ped = PlayerPedId()
local pos = GetEntityCoords(ped)
local veh = CreateVehicle("sultanrs", pos, 0.0)
SetVehicleNumberPlateTextIndex(veh, -1)
SetPedIntoVehicle(ped, veh, -1)
```
Result: spawns a Sultan RS with the "ALAN 0" plate (given no Sultan RS is spawned with a plate already)
 Other notes:
Plate on the vehicle breaks and does not update if set to index -1, it will keep the original plate or update as noted below
Plate can take text from other nearby vehicles or vehicles of same type rather than the "ALAN 0" text where available
 Spawn 3 vehicles with the ALAN 0 plate
Set one of them to plate index 0 to fix the plate
The other two will now show the same plate text as the fixed vehicle on the _HI/nearby model and ALAN 0 when on the non-_HI model (with the Sultan RS example at least)
 Conclusion:
ALAN 0 seems to be a default fallback plate texture, not plate text.
When possible it will show another available and compatible plate texture which does not represent the vehicles actual plate text.
 

Comments