Difference between revisions of "GetPreviousAndNextWeapon"

From Multi Theft Auto: Wiki
Jump to: navigation, search
(Syntax)
(Syntax)
Line 7: Line 7:
 
* '''theElement''': Compatible [[element]] types are:
 
* '''theElement''': Compatible [[element]] types are:
 
** [[Player|Players]]
 
** [[Player|Players]]
 +
 +
==Returns==
 +
This function returns two [[number]]s the first the previous weapon of the element and the second the next weapon of the element.

Revision as of 16:07, 4 January 2019

Syntax

int getPreviousAndNextWeapon ( element theElement )

Required arguments

Returns

This function returns two numbers the first the previous weapon of the element and the second the next weapon of the element.