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

Hello cipi89 why are you formatting the hex-dec color code?, as it says on the Wiki, it must to be a integer or hex in RGBA, the way you are using, makes the parameter a String, so it gives the error. Just remove the format stuff and put on top of your GameMode:

pawn Code:
#define ColorName FF000080
So you just need to use:

pawn Code:
GangZoneFlashForPlayer(playerid, gangwars_Zone, ColorName);
The last two digits (80) is for the Alpha channel transparency of the GangZone.
For more information: https://sampwiki.blast.hk/wiki/GangZoneFlashForPlayer
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)