Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------------------
- forward NovaGodinaTimer(playerid);
- public NovaGodinaTimer(playerid)
- {
- new day, hour, minute, second, lossin[128];
- getdate(day); gettime(hour, minute, second);
- format(lossin, sizeof(lossin), "~b~%d~w~D, ~b~%d~w~H, ~b~%d~w~M, ~b~%d~w~S", 31-day, 23-hour, 60-minute, 60-second);
- TextDrawSetString(NovaGodinaTimer_TD[0], lossin);
- for(new i = 0; i <= 6; i++)
- {
- TextDrawShowForPlayer(i, NovaGodinaTimer_TD[i]);
- }
- return 1;
- }
- //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement