Page MenuHomeFeedback Tracker

[Feature Request] Compatibility with getNumberPlate
Closed, ResolvedPublic

Description

Plate numbers are handled differently than the base game, it would be great to have Function to set them.

Additionally automatically setPlateNumber on generation, so it can be obtained with getPlateNumber and doesnt differ.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

getPlateNumber cursorObject on random P601

Event Timeline

nomisum created this task.Jun 11 2019, 12:41 PM
GalComT changed the task status from New to Confirmed Internally.Jun 11 2019, 12:57 PM
GalComT triaged this task as Normal priority.
GalComT claimed this task.Jun 11 2019, 1:18 PM
GalComT changed the task status from Confirmed Internally to Assigned.

The function to set it is: [vehicle player,"Number you want to set as String",0,1] spawn gm_core_vehicles_fnc_vehicleMarkingsUpdateAttributes;

GalComT closed this task as Resolved.EditedJun 11 2019, 1:26 PM

License plate numbers set through the GM functions can now also be obtained by using the getPlateNumber scripting command

Will be in GM v1.0.3156