setPlateNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Change the license plates on any vehicle which has plates configured. Max 15 characters are allowed!|= Description
|Change the license plates on any vehicle which has plates configured. Max 15 characters are allowed!|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''setPlateNumber''' string |= Syntax
| vehicle '''setPlateNumber''' string |SYNTAX=


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |PARAMETER1=


|p2= string: [[String]] |= Parameter 2
|p2= string: [[String]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[vehicle]] [[player]] '''setPlateNumber''' "Custom Plate 99"</code> |= Example 1
|x1= <code>[[vehicle]] [[player]] '''setPlateNumber''' "Custom Plate 99"</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getPlateNumber]]  |= See also
| [[getPlateNumber]]  |SEEALSO=


}}
}}

Revision as of 14:48, 7 April 2019

Hover & click on the images for description

Description

Description:
Change the license plates on any vehicle which has plates configured. Max 15 characters are allowed!
Groups:
Uncategorised

Syntax

Syntax:
vehicle setPlateNumber string
Parameters:
vehicle: Object
string: String
Return Value:
Nothing

Examples

Example 1:
vehicle player setPlateNumber "Custom Plate 99"

Additional Information

See also:
getPlateNumber

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on April 19, 2018 - 05:34 (UTC)
demellion
NOTICE: If this command is performed where argument is global, the plate will change and getPlateNumber will also return the new value, until vehicle owner sync it back to original in ~10 seconds after.