getPlateNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.82
|1.82


|gr1= Object Manipulation
|gr1= Object Manipulation


|Get the license plates from any vehicle which has plates configured.
|descr= Get the license plates from any vehicle which has plates configured.


|'''getPlateNumber''' vehicle
|s1= [[getPlateNumber]] vehicle


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


| [[String]]
|r1= [[String]]


 
|x1= <sqf>if (getPlateNumber vehicle player != "H4X0RZ") then { hint "u no 1337 bro" };</sqf>
|x1= <code>'''getPlateNumber''' [[vehicle]] [[player]]</code>


| [[setPlateNumber]]
|seealso= [[setPlateNumber]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 23:51, 3 May 2022

Hover & click on the images for description

Description

Description:
Get the license plates from any vehicle which has plates configured.
Groups:
Object Manipulation

Syntax

Syntax:
getPlateNumber vehicle
Parameters:
vehicle: Object
Return Value:
String

Examples

Example 1:
if (getPlateNumber vehicle player != "H4X0RZ") then { hint "u no 1337 bro" };

Additional Information

See also:
setPlateNumber

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