08.11.2017, 16:21
not bad
but instead of showing the td everytime player spawns show it once on connect
also you dont need stock
but instead of showing the td everytime player spawns show it once on connect
PHP Code:
public OnPlayerConnect(playerid)
{
clock(playerid);
return true;
}
PHP Code:
clock(playerid)
{
ShowProgressBarForPlayer(playerid, r_seconds);
TextDrawShowForPlayer(playerid, r_bottom);
TextDrawShowForPlayer(playerid, r_hour);
TextDrawShowForPlayer(playerid, r_edge);
TextDrawShowForPlayer(playerid, r_edge2);
TextDrawShowForPlayer(playerid, r_edge3);
return true;
}