2019-04-14, 11:08 PM
Try this
stock GetGridValue(grid_size, Float:value)
{
new ivalue = floatround(value);
while (ivalue % grid_size != 0) (ivalue < 0) ? (飼�):(--ivalue);
return ivalue;
}
stock GetGridValue(grid_size, Float:value)
{
new ivalue = floatround(value);
while (ivalue % grid_size != 0) (ivalue < 0) ? (飼�):(--ivalue);
return ivalue;
}
m e h