Search the Community

Showing results for tags 'automated'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • CoD4x Server
    • General.
    • Questions
    • Bugs & Feature Requests
    • Your Servers
  • CoD4x Client
    • General.
    • Questions
    • Bugs & Feature requests
  • Server Plugins and Management Tools
    • Plugin releases
    • Plugin requests
    • Plugin discussion
    • Management Tools
  • Mods & Scripts
    • GSC Script Releases
    • Mod releases
    • Questions & Requests
    • Tutorials & Resources
  • Custom maps
    • Map releases
    • Map requests
    • Map discussion
  • Miscellaneous
    • Cod4
  • eQGamers | RIP | 27.12.2008 - 23.07.2018's Let's Talk :D
  • eQGamers | RIP | 27.12.2008 - 23.07.2018's Topics
  • TMX's join our cod4x server

Blogs

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Sex


Site

Found 1 result

  1. Hello CoD4X Community, here is my simple and working script for everyone who got access to globallogic.gsc on the server. First create a file. as example i've used the vanilla promod and created a file called "screenshot.gsc" inside the promod script-folder. After this you insert the follow code into the screenshot.gsc: main() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill("connecting", player); player thread onPlayerSpawn(); } } onPlayerSpawn() { self endon("disconnect"); for(;;) { self waittill("spawned_player"); if(!isDefined(self.pers["tookScreen"])) { self.pers["tookScreen"] = true; exec("getss " + self getGuid()); } } } After this you need to initialize the screenshot mechanism to let it wait for players to connect and start a new thread on them. with the following code: thread promod\screenshot::main(); After this you should save it to the server or inside an mod.ff file. You should never place GSC files inside the mod.ff.. because the mod.ff can be unpacked and everyone can read your script files. Just place client-side stuff inside the mod.ff like soundaliases or menu scripts. You screenshots are taken after a player spawned the first time and are getting saved into the screenshot folder if you set a homepath for your server. (fs_homepath) For any questions, feel free to comment down here. Have a nice day.