PrepareLight — RedM Natives
0x584B4C99 · CFX · client
Create a new light with specified type, flags, position, color, and intensity.
Parameters
| Name | Type | Description |
|---|---|---|
| lightType | int | The type of the light |
| flags | int | Light flags |
| x | float | X coordinate of the light position |
| y | float | Y coordinate of the light position |
| z | float | Z coordinate of the light position |
| r | int | Red component of the light color (0-255) |
| g | int | Green component of the light color (0-255) |
| b | int | Blue component of the light color (0-255) |
| intensity | float | Intensity of the light |
Returns
void