primaryWeapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
back to [[Scripting_Reference#P|COMREF]] | |||
<h2 style="color:#000066">'''primaryWeapon ''vehicle'''''</h2> | <h2 style="color:#000066">'''primaryWeapon ''vehicle'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
vehicle: [[Object]] | '''vehicle:''' [[Object]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 12: | Line 15: | ||
Returns name of vehicle's primary weapon (empty string if none). | Returns name of vehicle's primary weapon (empty string if none). | ||
'''Example:''' | '''Example:''' | ||
pWeap = '''primaryWeapon''' player | pWeap = '''primaryWeapon''' [[player]] |