27.01.2013, 22:21
Y pones el timer en cada lugar...
Eso es un ejemplo no se si van exactamente ahн pero donde queres que el timer se active solo pones:
pawn Код:
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);
}
pawn Код:
SetTimerEx("TiempodeCarga", 1000, false, "i", playerid);