<<size 150%>>**Parameters in <<color #ff0000>>red<</color>> are optional.**<</size>>\\\\

=== <<color #265677>> **WarningShow(event, text, icon, color, sound, flash)** <</color>>
Shows a warning 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **text** (string) The text the warning should display.
* <<color #ff0000>>**icon**<</color>> (string) Texture path to the icon to be used.
* <<color #ff0000>>**color**<</color>> (table) Color to set on the text, if no color is supplied the default color set in the Warnings plugin settings will be used. (number indexed color table).
* <<color #ff0000>>**sound**<</color>> (string) Sound file to play along with showing the warning (LSM name).
* <<color #ff0000>>**flash**<</color>> (boolean) If true a screen flash will be shown together with the warning.

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("WarningShow", "RUN RUN!", [[Interface\ICONS\SomeTexture]], "Bell", true)<</code>>
\\