05.12.2011, 21:34
need to know how to make a loading bar with a 5 second timer e.g
player enters checkpoint and on doing so a loading bar comes up and fills up whilst counting to 5 when its full
i need something like this:

ive already finished the checkpoint:
please no one word answers or stupid remarks, they dont help anyone. Will give rep to good answers or code given.
thanks guys
player enters checkpoint and on doing so a loading bar comes up and fills up whilst counting to 5 when its full
i need something like this:

ive already finished the checkpoint:
PHP код:
public restock(playerid)
{
SendClientMessage(playerid,COLOR_YELLOW,"* You have refilled your stock.");
finished[playerid]=0;
truckstart(playerid);
}
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
// other code
else
{
rstock[playerid] = SetTimerEx("restock", 5000, false, "i", playerid);
}
}
return 1;
}
thanks guys