Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. if( realtime ) {
  2. new tmphour,
  3. tmpminute,
  4. tmpsecond,
  5. stringicc[ 15 ];
  6.  
  7. gettimeEx( tmphour, tmpminute, tmpsecond );
  8. FixHour( tmphour );
  9. tmphour = shifthour;
  10. SetWorldTime( tmphour );
  11. ServerInfo[ VremeInGame ] = tmphour;
  12.  
  13. format( stringicc, sizeof( stringicc ), "%s%d:%s%d:%s%d", (tmphour < 10) ? ("0") : (""), tmphour, (tmpminute < 10) ? ("0") : (""), tmpminute, (tmpsecond < 10) ? ("0") : (""), tmpsecond);
  14. TextDrawSe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement