Author: Foxhound
Author Website: http://www.totaldamage.org/v2.0/

Requirements: No addons required

Version: 1.1

Short description:

Date: 2007-03-29 15:52


Comments: (0)
Rating:



 

Join in progress
by
HAILO


Description:
This script lets you hook into two pre-defined event stubs to run any code you want on the player, server or dedicated server computers when a player connects or disconnects.


Usage:
To use the join in progress script in your mission you will need to do the following:
- If you do not already have init.sqf file made for the mission then you can just copy the contents of files directory directly to the mission directory.

Otherwise do the following:
- Copy the files\scripts and files\events directory into your mission directory (So that the signal and events directory remains).
- Add the contents of files\init.sqf to your mission init.sqf file so that the join in progress script init is run at the beginning of mission.

It is important that you have the following gamelogic and trigger in your mission:
- ADD A GAMELOGIC NAMED "server"

The join in progress script should now launch whenever a player connects to the server.

You can now use the custom event scripts "onPlayerConnected.sqf" and "onPlayerDisconnected.sqf"
in the events directory.

Note! If you need to do any modifications in the join in progress script files for your mission, please mark the modified files as modified by you to avoid confusing them with the originals.


Version:
V1.1
- Improved locality checks on event scripts and jip.sqf
- Stoped double server execution in the jip.sqf on dedicated servers


Credits:
Made by Hailo (http://www.totaldamage.org)


License & disclaimer:
You are permitted to install and use this software for personal entertainment
purposes only. Any commercial, military or educational use is strictly forbidden
without permission from the author.

You are free to distribute this software as you wish, as long as it is kept 100%
free of charge, it is not modified in any way and this readme file is
distributed with it.

The author takes no responsibility for any damages this program may cause,
use at your own risk.


BI forums thread:
http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=237be1645bb9bdf3ec35ca36e28eca43;act=ST;f=71;t=60462




Enable javascript to be able to download from Armaholic please!



Tags: No tags