SetVehiclePanelState: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: Syntax: SetVehiclePanelState ( vehicle theVehicle, int panelID, int state ) panelID = 0 -> 6 state = 0 -> 255 (check what range is effective, it may be much smaller e.g. 0 -> 3) Returns ...)
 
No edit summary
Line 1: Line 1:
Syntax: SetVehiclePanelState ( vehicle theVehicle, int panelID, int state )
__NOTOC__
{{Server client function}}


panelID = 0 -> 6
==Syntax==
state = 0 -> 255 (check what range is effective, it may be much smaller e.g. 0 -> 3)
<syntaxhighlight lang="lua">setVehiclePanelState ( vehicle theVehicle, int panelID, int state )</syntaxhighlight>


Returns true if it works, false otherwise :)
==Required Arguments==
*'''panelID:''' 0-6
*'''state:''' 0-255 (check what range is effective, it may be much smaller e.g. 0-3)


Client & server
==Returns==
Returns ''true'' if it works, ''false'' otherwise

Revision as of 21:16, 23 January 2008

Syntax

setVehiclePanelState ( vehicle theVehicle, int panelID, int state )

Required Arguments

  • panelID: 0-6
  • state: 0-255 (check what range is effective, it may be much smaller e.g. 0-3)

Returns

Returns true if it works, false otherwise