Vehicle::neonEnabled: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Rework required}}")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Rework required}}
This property is used to check whether vehicle neon light is enabled or disabled
 
== Setter ==
* {{RageType|Boolean}} <code>true</code> to enable neon, <code>false</code> to disable neon.
 
== Getter ==
* {{RageType|Boolean}} <code>true</code> if neon is enabled, <code>false</code> if neon is disabled.
 
== Example ==
{{ServersideCode|
<pre>
vehicle.neonEnabled = true; // Enable this vehicle neon
</pre>
}}
 
== See also ==
* [[Vehicle::isNeonLightEnabled]] - Client side function
* [https://wiki.gtanet.work/index.php?title=GetVehicleNeonState GetVehicleNeonState] - Same function in C# bridge
 
[[Category:Vehicle API]]
[[Category:Server-side Property]]

Latest revision as of 17:55, 16 May 2019

This property is used to check whether vehicle neon light is enabled or disabled

Setter

  • Boolean true to enable neon, false to disable neon.

Getter

  • Boolean true if neon is enabled, false if neon is disabled.

Example

Server-Side
vehicle.neonEnabled = true; // Enable this vehicle neon

See also