20.04.2013, 13:56
Ola
Tenta ai, veja se e isso;
PT
Tenta ai, veja se e isso;
pawn Код:
case 1:
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 431)
{
TogglePlayerControllable (playerid, 0);
GameTextForPlayer(playerid,"~p~Aguarde...", 5000, 1);
SendClientMessage(playerid, -1, "[ Motorista ]: Aguarde no ponto");
SetTimerEx("DescongelarPonto", 5000, false, "i", playerid ) ; // 5000 = 5 Segundos
DisablePlayerRaceCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[1][0], CheckPoints[1][1], CheckPoints[1][2], CheckPoints[2][0], CheckPoints[2][1], CheckPoints[2][2], 10);
Trocar[playerid] = 2;
RemovePlayerMapIcon(playerid, 21);
SetPlayerMapIcon(playerid ,22, 1332.9934,-1464.7301,13.3828, 53,0,MAPICON_GLOBAL);
}
else
{
SendClientMessage(playerid, COR_RED, "[ x ]Voce nao esta dentro de um Onibus");
}
}