CMD:cargar(playerid, params[]) { // X... code del comando SetTimerEx("TiempodeCarga", 1000, false, "i", playerid); return 1; }
if(Repartiendo[playerid] == 1) //Comprobante { if(IsPlayerInRangeOfPoint(playerid,5, 2200.2295,-1380.5227,23.5149)) { SetPlayerCheckpoint(playerid,2428.5281,-1649.3212,13.1846,5); } else if(IsPlayerInRangeOfPoint(playerid,5,2428.5281,-1649.3212,13.1846)) { SetPlayerCheckpoint(playerid,1338.9779,-1845.1865,13.1875,5); } else if(IsPlayerInRangeOfPoint(playerid,5, 1338.9779,-1845.1865,13.1875)) { SetPlayerCheckpoint(playerid,1226.5570,-1865.3820,13.1872,5); }
if(Repartiendo[playerid] == 1) //Comprobante
{
if(IsPlayerInRangeOfPoint(playerid,5, 2200.2295,-1380.5227,23.5149))
{
SetPlayerCheckpoint(playerid,2428.5281,-1649.3212,13.1846,5);
SetTimerEx("TiempodeCarga", 1000, false, "i", playerid);
}
else if(IsPlayerInRangeOfPoint(playerid,5,2428.5281,-1649.3212,13.1846))
{
SetPlayerCheckpoint(playerid,1338.9779,-1845.1865,13.1875,5);
SetTimerEx("TiempodeCarga", 1000, false, "i", playerid);
}
else if(IsPlayerInRangeOfPoint(playerid,5, 1338.9779,-1845.1865,13.1875))
{
SetPlayerCheckpoint(playerid,1226.5570,-1865.3820,13.1872,5);
SetTimerEx("TiempodeCarga", 1000, false, "i", playerid);
}
SetTimerEx("TiempodeCarga", 1000, false, "i", playerid);
Bueno asн como pusiste tu lo tenнa planeado hacerlo, pero esa es la forma correcta?
De igual forma gracias, si es asн aclaraste mi duda. Saludos. |