[Release] Static Actions

Hi!

I came up with the idea to make a script which consists in: adding and removing static actions.
It’s a very simple script to understand and a cool feature.
The actions show in your screen for 30 seconds. Each 10 seconds there a new state:

  • 30 secs: green
  • 20 secs: yellow
  • 10 secs: red
  • 0 secs: disappears

This is basically a /me but instead the message keeps in that location for a certain time.
Example: /action door is locked and no one can get in until its gone. Thanks Outisder ! :smiley:

Screenshot_8 Screenshot_9

Commands
  • action this command requires an args. The result is what you have seen in the pictures.
  • raction this command requires no args. It removes the closest action (it must be yours).
To Do
  • Inserting and retrieving actions from database.
  • Comparing if the action is yours with the players identifier.
  • Easier config file to have a custom time. (you can already have it but it’s hard coded)
  • More…

v1.0: Download

I hope you’ll enjoy the script :smiley:

P.S.: I’m sorry for my english. I’m not a native speaker! :smiley:

4 Likes

Do not minify or compress files on Github

I don’t understand why this should require ESX when all you use from it is sending a notification, but okay :man_shrugging:

Please commit the files directly to your repository instead of a rar file and flag your topic so it can be relisted

whoever dont know what is this for is basically a /me but instead the message keeps in that location for a certain time
example: /action door is locked and no one can get in until its gone . im getting it

2 Likes

This is very cool! This reduces failrp and makes roleplay situations more detailed.

1 Like

Would be need to have the option to have it stay for as long as you wanted (Including forever) and pick what colour you want the text to be :smiley:

Hi @redcatjack,

Thanks for the suggestion! It will be implement in the next version which i’m working on! Thanks once again.

Cristiano.

1 Like

I like the idea of this although I believe there should be a command to remove it as in i want the door to be shut for a longer period of time. But it should cancel it if the player disconnects!

I´ve seen somewhere else…

Hi @Kuwu,

I like the player disconnect idea, it’s really useful! About the remove command, there is already one, you can see it in the commands section (/raction). Thanks.

Cristiano.

Hi @Duarte_Rodrigues1,

There are many servers who have this script already, maybe you seen this in a server. Thanks.

Cristiano.

how to put the size of the letters small?

Hi @The_Mist,

You could simply change the text scale in the line 22 (you’ll have to set it to a static value). Thanks!