28.05.2015, 18:29
Код:
undefined symbol "Resultx" & undefined symbol "Resulty" in: stock Calc_Point(Float:xs, Float:ys, &Float:x, &Float:y, Float:xOffset, Float:yOffset, Float:Angle, i, j) { //do further calculations with the params in last operation, find the next x and y values in the grid //x and yOffset is basically the space between the coordinates you calculate. Bigger value, bigger grid. x = xs +i * xOffset * floatcos(Angle,degrees) +j * yOffset * floatsin(Angle,degrees); y = ys + i * xOffset * floatsin(Angle,degrees) - j * yOffset * floatcos(Angle,degrees); //the two here is having + & + and + & - because of the coordinate system in samp. } Help?