16/01/2021 11:41
(Esta mensagem foi modificada pela última vez a: 16/01/2021 12:43 por LeleziiN.)
Bom como o titulo mesmo já diz estou com conflito entres os CPs da loja de Utilitarios e os CPs do sistema que estou desenvolvendo. Bem quando eu vou para os CheckPoints do Sistema, da um conflito e aparece nele o sistema da loja de utilitarios.
Poderiam mim ajudar pfvr?
O conflito é com todos os CPs do GM
Parte da Dinâmina da Prof:
Poderiam mim ajudar pfvr?
O conflito é com todos os CPs do GM
Parte da Dinâmina da Prof:
Código PHP:
switch(CheckPoint[playerid])
{
case 1:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[1][0], CordenadasCheckPoints[1][1], CordenadasCheckPoints[1][2],3.0);
CheckPoint[playerid] = 2;
}
case 2:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, CordenadasCheckPoints[2][0], CordenadasCheckPoints[2][1], CordenadasCheckPoints[2][2],3.0);
CheckPoint[playerid] = 3;
}
case 3:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, CordenadasCheckPoints[3][0], CordenadasCheckPoints[3][1], CordenadasCheckPoints[3][2],3.0);
CheckPoint[playerid] = 4;
}
case 4:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[4][0], CordenadasCheckPoints[4][1], CordenadasCheckPoints[4][2],3.0);
CheckPoint[playerid] = 5;
}
case 5:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[5][0], CordenadasCheckPoints[5][1], CordenadasCheckPoints[5][2],3.0);
CheckPoint[playerid] = 6;
}
case 6:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[6][0], CordenadasCheckPoints[6][1], CordenadasCheckPoints[6][2],3.0);
CheckPoint[playerid] = 7;
}
case 7:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[7][0], CordenadasCheckPoints[7][1], CordenadasCheckPoints[7][2],3.0);
CheckPoint[playerid] = 8;
}
case 8:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,CordenadasCheckPoints[8][0], CordenadasCheckPoints[8][1], CordenadasCheckPoints[8][2],3.0);
CheckPoint[playerid] = 9;
}
case 9:
{
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 1.0,1,0,0,0,0);
//Time[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
ColherTime[playerid] = SetTimerEx("Animation", 3000, false, "i",playerid);
DisablePlayerCheckpoint(playerid);
//SendClientMessage(playerid, -1, "Voce terminou a platacao, espera ela crescer e depois colha ela");
SendClientMessage(playerid, -1,"{1e90ff}| INFO | {FFFFFF}Você plantou em todos os locais. Aguarde 1 minuto para colher!");
SendClientMessage(playerid, -1,"{1e90ff}| INFO | {FFFFFF}Localização apagada com sucesso!");
TimerPlantando[playerid] = SetTimerEx("Plantando", 10000, false, "i",playerid);
Esta_Plantando[playerid] = false;
}
}