11.08.2014, 17:03
Con tres variables y esta funciуn, lo puedes hacer:
https://sampwiki.blast.hk/wiki/Floatround
No es necesario explicar ya que deberнas saber cуmo funciona tal cуdigo
es sуlo un ejemplo, tu haces lo demas
https://sampwiki.blast.hk/wiki/Floatround
pawn Код:
// OnPlayerEnterRaceCheckPoint ...
new var_1, Float:var_2[numero_de_checkpoints], posicion;
var_1++;
var[var_1]++;
posicion = floatround(var_2[var_1], floatround_floor);
es sуlo un ejemplo, tu haces lo demas