API/Callbacks/plugins/Flash
Parameters in red are optional.
FlashShow(event, color, duration, pulses, texture)
Shows a Screen flash
Parameters
- color (table) The color of the flash (number indexed color table)
- duration (number) The duration of the flash
- pulses (number) The number of times the flash should pulse. The speed of the pulses will be duration / pulses.
- texture (string) The texture to be used for the flash, the texture will be blended with ADD
Usage
RW.Callbacks:Fire(FlashShow, {1, 0, 0, 1})
Comments