17.07.2016, 12:06
ERROR:
Line:
My codes:
PHP код:
: error 035: argument type mismatch (argument 2)
PHP код:
SetPlayerColor(playerid, ColorFlash[vFlash]); // Replace the "COLOR" with your defined color.
PHP код:
new ColorFlash[][] =
{
{"#FFFFFF"},
{"#FFFFFF"},
{"#FFFFFF"}
};
forward FlashName(playerid);
public FlashName(playerid)
{
new vFlash = random(sizeof(ColorFlash));
SetPlayerColor(playerid, ColorFlash[vFlash]); // Replace the "COLOR" with your defined color.
return 1;
}
SetTimer("FlashName", 6000, true);