Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. if($time <= time()) {
  2. if($time != 0)
  3. $Server->wsSend(1, 'perfect world');
  4.  
  5. foreach ( $Server->wsClients as $id => $client )
  6. $time = time() + $adminMessage['interval'];
  7. }
  8.  
  9. if ($time <= time()) {
  10. if ($time != 0)
  11. $Server->wsSend(1, 'perfect world');
  12. foreach ( $Server->wsClients as $id => $client )
  13. $time = time() + $adminMessage['interval'];
  14. }
  15.  
  16. if ($time <= time()) {
  17. if ($time != 0) {
  18. $Server->wsSend(1, 'perfect world');
  19. }
  20. foreach ( $Server->wsClients as $id => $client ) {
  21. $time = time() + $adminMessage['interval'];
  22. }
  23. }
  24.  
  25. if ($time <= time()) {
  26. if ($time != 0) {
  27. $Server->wsSend(1, 'perfect world');
  28. foreach ( $Server->wsClients as $id => $client )
  29. $time = time() + $adminMessage['interval'];
  30. }
  31. }
  32.  
  33. if ($time <= time()) {
  34. if ($time != 0) {
  35. $Server->wsSend(1, 'perfect world');
  36. foreach ( $Server->wsClients as $id => $client ) {
  37. $time = time() + $adminMessage['interval'];
  38. }
  39. }
  40. }
  41.  
  42. if ($time <= time()) {
  43. if ($time != 0) {
  44. $Server->wsSend(1, 'perfect world');
  45. }
  46. foreach ($Server->wsClients as $id => $client) {
  47. $time = time() + $adminMessage['interval'];
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement