So… Using the native SetWarningMessage() in C# requires a ref int variable to set the backgroud… and whatever the value the variable is setted on… the backgroud is always transparent and not black… both with 0 or 1 or 5000 as value
using Lua it works so far since ref int is not needed and true / false can be used… how can i get the black background?
1 Like
Hey!
Would you mind on sharing your script for checking vehicle modifications?
I want to catch that lammers…
Thank you!
i’m very sorry… it’s a much closed blinded gamemode… i might in the future but for now too many decrypters…
maybe in the near future
Fixed it myself the right code is different from the example in Natives List
the right code is
int bg = 1;
int p6 = 1;
SetWarningMessage("warning_message_first_line", instructionalKey, "warning_message_second_line", true, -1, ref bg, ref p6, true, 1);