Advertisement
Guest User

Untitled

a guest
Dec 18th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. //------------------------------------------------------------------------------
  2. forward NovaGodinaTimer(playerid);
  3. public NovaGodinaTimer(playerid)
  4. {
  5. new day, hour, minute, second, lossin[128];
  6. getdate(day); gettime(hour, minute, second);
  7. 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);
  8. TextDrawSetString(NovaGodinaTimer_TD[0], lossin);
  9. for(new i = 0; i <= 6; i++)
  10. {
  11. TextDrawShowForPlayer(i, NovaGodinaTimer_TD[i]);
  12. }
  13. return 1;
  14. }
  15. //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement