[Ajuda] Checkpoint nгo desativa
#1

Eu estou fazendo um sistema de carga de caminhгo em meu server, e o percurso й por checkpoint quando eu faзo /pegarcarga e ele pega a carga e seta um checkpoint para ir atй o local:

pawn Код:
SetPlayerRaceCheckpoint(playerid,0, 2243.2165, -2213.0759, 13.3304, 46.2880, 0, 0,6.0);
CargaAtiva[playerid] = 1;
Mas quando eu chego no destino e passo por cima do checkpoint ele nгo desativa, mas sendo que coloque pra desativar.

pawn Код:
if(CargaAtiva[playerid] == 1)
{
new string[70];
format(string,sizeof(string),"(INFO) Siga os pontos para chegar no destino da entrega. (1/20)");
SendClientMessage(playerid,Amarelo,string);
DisablePlayerRaceCheckpoint(playerid);
CargaAtiva[playerid] = 0;
return 1;
}
OBS: Eu coloquei isto em OnPlayerEnterCheckpoint, mas nгo esta desativando
Reply


Messages In This Thread
Checkpoint nгo desativa - by ZaturN - 29.12.2013, 22:35
Re: Checkpoint nгo desativa - by Wellington1999 - 29.12.2013, 23:08
Re: Checkpoint nгo desativa - by ZaturN - 29.12.2013, 23:21
Re: Checkpoint nгo desativa - by Wellington1999 - 29.12.2013, 23:22
Re: Checkpoint nгo desativa - by Eudes - 29.12.2013, 23:23
Re: Checkpoint nгo desativa - by ZaturN - 29.12.2013, 23:29
Re: Checkpoint nгo desativa - by ZaturN - 30.12.2013, 01:23

Forum Jump:


Users browsing this thread: 1 Guest(s)