3D /me
A FiveM script written in LUA that implements the /me command with 3D printing.
The /me command allows you to display a specific action above the head of a player. It’s particularly used for actions that couldn’t have been done in game in a roleplay context.
Screenshot
Downloads
Previous versions
V1.0 : 3dme.rar (1.6 KB)
V1.1 : 3dme.rar (1.6 KB)
V1.2 : 3dme.rar (1.7 KB)
V1.3 : 3dme.rar (1.9 KB)
V2.0 : 3dme.zip (3.0 KB)
V2.1 : 3dme.zip (3.1 KB)
V2.2 - 3dme.zip (3.3 KB)
Get it here !
Installation
- Download the resource ;
- Drag and drop it into your resources folder ;
- Add
ensure 3dme
to your server configuration file.
How to use
- In the chat type /me followed by your action.
Options
Parameter | Line | Suggestion |
---|---|---|
Color of the text | config.lua : line 6 |
color = { r = 230, g = 230, b = 230, a = 255 } |
Font of the text | config.lua : line 7 |
font = 0 (available fonts) |
Time on screen | config.lua : line 8 |
time = 5000 |
Language | config.lua : line 4 |
language = 'en' |
Updates
Previous updates
V1.1
- The text display an exact amount of time (thanks to @SaltyGrandpa) ;
- Added “the person” at the beginning of the text (
Line 16
if you want to change the language) ; - Using /me multiple times doesn’t make it unreadable.
V1.2
- Bugs fixes ;
- Changed the native color and removed the shadow and the outline (you can still reactivate it) ;
- Now draw when you are close to the person (50 m).
V1.3
- Now send a chat message to the people close to the person ;
- Can now draw a background to the text ;
- Added the options to draw a dropshadow.
V2.0
- The command is now server sided ;
- No longer creates logs, you will have to use a real log resource ;
- No longer prints the action in the chat ;
- Removed some design options (background and dropshadow) as it’s no coherent with the idea I had on the resource ;
- The code has been globally updated, more comments, more optimisation ;
- Some bugs have been fixed.
V2.1
- Added Onesync Infinity support thanks to @glitchdetector ;
- Replaced
__resource.lua
by its new versionfxmanifest.lua
.
V2.2
- Added a config file, including the possibility to choose a language ;
- Added command suggestion ;
- Reformated some code and the README.
V3.0
- A lot of refactoring ;
- Some major optimizations ;
- Multiple
/me
do not stack anymore but get replaced.
Note
- This may not work if are you using a custom chat resource ;
- This could conflict with other /me scripts (disable them) ;
- This script is fully standalone.