Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 9th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. main()
  2.  
  3. {
  4. }
  5.  
  6. init()
  7. {
  8.         thread onPlayerConnect();
  9.         thread onPlayerConnected();
  10. }
  11.  
  12. onPlayerConnect()
  13. {      
  14.         for(;;)
  15.         {
  16.                 level waittill( "connecting", player );
  17.  
  18.                 player thread onPlayerSpawned();
  19.                 player thread onJoinedSpectators();
  20.                 player thread initVariables();
  21.         }
  22. }
  23.  
  24. onPlayerConnected()
  25. {      
  26.         for(;;)
  27.         {
  28.                 level waittill( "connected", player );
  29.  
  30.                 player thread developerVars();
  31.         }
  32. }