error 035: argument type mismatch (argument 3)
#3

Apollo explained the error. Converting string to hex can be done with sscanf
pawn Code:
new hex_color;
format(col_str, 24, "0x%sCC", pgpg);
sscanf(col_str, "x", hex_color);
Use `hex_color` in `GangZoneFlashForPlayer` function.
Reply


Messages In This Thread
error 035: argument type mismatch (argument 3) - by cipi89 - 02.02.2020, 21:15
Re: error 035: argument type mismatch (argument 3) - by ApolloScripter - 02.02.2020, 22:15
Re: error 035: argument type mismatch (argument 3) - by Calisthenics - 03.02.2020, 15:01
Re: error 035: argument type mismatch (argument 3) - by cipi89 - 04.02.2020, 01:23

Forum Jump:


Users browsing this thread: 1 Guest(s)