getPlateNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.81|= Game version ______________...")
 
m (Some wiki formatting)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.82


|1.81|= Game version
|gr1= Object Manipulation
____________________________________________________________________________________________


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


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


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


|r1= [[String]]


| [[String]]|= Return value
|x1= <sqf>if (getPlateNumber vehicle player != "H4X0RZ") then { hint "u no 1337 bro" };</sqf>
 
____________________________________________________________________________________________
 
|x1= <code>'''getPlateNumber''' [[vehicle]] [[player]]</code> |= Example 1
____________________________________________________________________________________________
 
| [[setPlateNumber]]  |= See also


|seealso= [[setPlateNumber]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:51, 4 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