new const r = GetRandomInt(20, 255);
new const g = GetRandomInt(20, 255);
new const b = GetRandomInt(20, 255);
TE_SetupBeamPoints(last_pos, Pos, g_BeamSprite, 0, 0, 1, 3.0, 5.0, 5.0, 3, 0.1, {r,g,b,255}, 1);
TE_SendToAll();
Ошибка: error 008: must be a constant expression; assumed zero
Нужно сделать лучи случайного цвета...
new const g = GetRandomInt(20, 255);
new const b = GetRandomInt(20, 255);
TE_SetupBeamPoints(last_pos, Pos, g_BeamSprite, 0, 0, 1, 3.0, 5.0, 5.0, 3, 0.1, {r,g,b,255}, 1);
TE_SendToAll();
Ошибка: error 008: must be a constant expression; assumed zero
Нужно сделать лучи случайного цвета...