23.07.2017, 07:17
Hi guys, I want to skip parameter 'color' in this function because it's optional so I don't want to set it to COLOR_YELLOW again. I just set it to another color when I need.
Please help me. Thanks in advanced.
PHP код:
SendAdminAlert(color = COLOR_YELLOW, message[])
{
foreach(new i: Player)
{
if(!Character[i][Admin]) continue;
Scm(i, color, message);
}
return 1;
}