16.09.2011, 14:40
Eu criei uma gambiarra aqui, mais nao to conseguindo fazer funcionar, eu ja defini tudo copilo normal, mais ai quando eu entro dentro dos checkpoints, nao acontece nada, alguem ajuda?
pawn Код:
if(IsPlayerInCheckpoint(Checkpoint1))
{
Checkpoint2 = SetPlayerCheckpoint(playerid, -2078.9246,-167.7930,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint2))
{
Checkpoint3 = SetPlayerCheckpoint(playerid, -2055.8943,-170.0569,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint3))
{
Checkpoint4 = SetPlayerCheckpoint(playerid, -2066.6545,-151.8407,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint4))
{
Checkpoint5 = SetPlayerCheckpoint(playerid, -2054.3389,-141.4836,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint5))
{
Checkpoint6 = SetPlayerCheckpoint(playerid, -2046.6318,-163.2219,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint6))
{
Checkpoint7 = SetPlayerCheckpoint(playerid, -2063.8262,-209.4338,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint7))
{
Checkpoint8 = SetPlayerCheckpoint(playerid, -2086.9343,-180.6604,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint8))
{
Checkpoint9 = SetPlayerCheckpoint(playerid, -2085.8259,-257.1105,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint9))
{
Checkpoint10 = SetPlayerCheckpoint(playerid, -2043.8909,-263.2249,35.3203,05);
}
if(IsPlayerInCheckpoint(Checkpoint10))
{
Checkpoint11 = SetPlayerCheckpoint(playerid, -2023.0986,-134.7571,35.2853,05);
}
if(IsPlayerInCheckpoint(Checkpoint11))
{
CarroLic[playerid] = 1;
SpawnPlayer(playerid);
SendClientMessage(playerid, -1,"Vocк passou no teste ;D ");
}