Quote:
Originally Posted by cesar_******
pawn Код:
// creas tu check point [URL="https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint"]SetPlayerCheckpoint[/URL]
// al entrar en esa check point llamara a OnPlayerEnterCheckpoint
public OnPlayerEnterCheckpoint(playerid) { SetTimer("Conteo", false , 1000); return 1; }
/// luego se activa el timer
forward Conteo(); public Conteo() { /// tu Funcion
}
|
asta ahн llego (gracias) , pero cuбndo salga de el checkpoint seria KillTimer ?
EDITO: los 2 haveis dicho lo mismo pero de diferentes dformas