Forum Jump :

Author Message

JTS  



Posts: 49
Rank:


Level: Member

Country: de
Location:
Occupation:
Age: 25
In-game name: JTS

 
#1 Posted at 2014-04-23 17:21        
     

PM Compact

by JTS



Description:

An personal messages script for ARMA 3


Features:

- Send private messages to any player
- Received messages will be stored in your inbox
- Ability to remove messages
- You can disable the reception of messages
- Notification when a message is received
- ARMA 3 GUI style
- Compact dialog window

Installation / Usage:

Download the example mission.
1. If you have file 'Init.sqf' already in your mission, then copy from my init.sqf line: execVM "JTS_PM\Functions.sqf"; and add it to your init.sqf. Otherwise - just copy the init.sqf into your mission.
2. If you have already Description.ext - copy the line: #include "JTS_PM\PM_Compact.hpp" and add it to your description.ext (Don't forget the rules if you write #include). Otherwise just copy the Description.ext to your mission.
3. Copy the folder 'JTS_PM' into your mission
4.You can adjust the script. Open file 'Functions.sqf' located in \JTS_PM\. You will see the editable variables. Change them on your own.

// EDITABLE VARIABLES (BEGIN)

JTS_MSG_STR = "Personal messages"; // Text, which will be displayed in action menu

JTS_ALLOW_PM = 0; // if 0 - receiving of personal messages on mission start is allowed. If 1 - receiving of personal messages on mission start is prohibited

JTS_SIDES = 1; // if 0 - list for player will be filled with all players, no matter on which side they are. If 1 - list for player will be filled only with players on the same side

JTS_MSG_COLOR = "#980000"; // Color of the text in action menu. The colors you can find here: http://www.w3schools.com/html/html_colors.asp

// EDITABLE VARIABLES (END)


Media:

Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel.

Screenshots:


http://s14.directupload.net/images/140423/u7ef3zxt.jpg
http://s7.directupload.net/images/140423/ibyey2tq.jpg


Credits & Thanks:

Script was tested by: JTS (me), Urban


License:


Respect copyrights!
You are allowed to use this in your mission, but you are NOT allowed to:
1. Change it
2. Publish it from your name
3. Change it/Publish it from your name

Also if you modify it and want to use it in your mission - you are not allowed to do that. You can ONLY use this in your mission, if the script/GUI is NOT modified! (Except the editable variables of course). The GUI is in ARMA 3 style. So I think there should not be any problems :)

[Download]


This post was edited by JTS (2014-04-24 14:11, ago)


Author Message


Posts: 20279
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 41
In-game name: Foxhound

 
#2 Posted at 2014-04-23 21:38        
     
Thanks for posting the release here :-)
News is up on the frontpage and you can find our mirror here:



Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 2
Rank:


Level: Member

Country: br
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2014-04-27 22:17        
     
after the death of the unit the mod stops working, why?


Author Message

JTS  



Posts: 49
Rank:


Level: Member

Country: de
Location:
Occupation:
Age: 25
In-game name: JTS

 
#4 Posted at 2014-04-28 15:08        
     
# spydrex : after the death of the unit the mod stops working, why?

It's not stopping working. What you mean? If you have the dialog opened at the time when unit is dead (also the unit to whom you want to send a message) - it will write that this unit is not respond. You have then to close and open the dialog again :)

+ You can't send message to yourself


Author Message


Posts: 2
Rank:


Level: Member

Country: br
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2014-04-29 19:56        
     
Sorry man, did not explain right.

I included the script in the mission.

But when the player dies after respawn, the option disappears from the menu.


Author Message

JTS  



Posts: 49
Rank:


Level: Member

Country: de
Location:
Occupation:
Age: 25
In-game name: JTS

 
#6 Posted at 2014-04-30 17:00        
     
# spydrex : Sorry man, did not explain right.

I included the script in the mission.

But when the player dies after respawn, the option disappears from the menu.

Well, this is not my error. Because it was tested and all worked fine (and works fine). Maybe some script by you removes all actions by player or something else..?

This post was edited by JTS (2014-04-30 17:37, ago)