[Ajuda] Checkpoint de Corrida
#1

Alguem ai sabe criar checkpoints de corrida apos eu digitar um comando, e quando eu chegar no checkpoint esperar 5 segundos congelado e o checkpoint sumir?
Reply
#2

1. https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
2. https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
3. https://sampwiki.blast.hk/wiki/Function:...erControllable
4. https://sampwiki.blast.hk/wiki/DisablePlayerCheckpoint
Reply
#3

https://sampwiki.blast.hk/wiki/SetPlayerRaceCheckpoint

pawn Код:
if (IsPlayerInCheckpoint(playerid))
{
     TogglePlayerControllable(playerid,0)
     SetTimerEx("descongelar", 5000, false, "i", playerid)
}

forward descongelar(playerid);
public descongelar(playerid)
{
     DisablePlayerRaceCheckpoint(playerid);
     TogglePlayerControllable(playerid,1);
     return 1;
}
Se estiver errado me corrige.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)