29.09.2018, 16:07
Now it appears to be
"respawn in 48"
instead to appear "respawn in 30:00" (30 minutes, 00 seconds)
And it won't refresh
Whole script
"respawn in 48"
instead to appear "respawn in 30:00" (30 minutes, 00 seconds)
And it won't refresh
Whole script
PHP код:
new respawnupdate[285];
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
format(respawnupdate,sizeof(respawnupdate),"RESPAWN IN: %d",TimeConvert(RespawnGeneral()));
TextDrawSetString(TDEditor_TD[1], respawnupdate);
timer RespawnGeneral[1800000]()
{
DayZSA_RespawnItems();
return 1;
}
public RespawnCount(playerid)
{
if(RespawnGeneral() == 0)
{
KillTimer(playertimer[playerid]);
}
else
{
new str[32];
format(str, sizeof(str), "%s", TimeConvert(RespawnGeneral()));
}
return 1;
}