Jump to content

Add a /language (/lang) command

Recommended Posts

A lot of people like to RP speaking in other languages. We get a lot of questions about how to type in colors such as

~r~[LanguageHere] ~w~ Message

This would obviously still be an option but the /language command would just be something along the lines of 

Input    --> /lang Spanish Hello my name is Matt.

Output --> [Spanish] Hello my name is Matt.


Test code (I haven't touched RageMP so this might be wrong but general idea maybe?)

mp.events.addCommand("language", (player, fullText, langInput, message) => {

  howeverYouSendAMessage(`${player.name} says: ~r~[${langInput}] ~w~${message} );



Makes it easy to write in languages without having to know color  codes etc. Might be easier overall to understand and quicker than writing all of the ~r~[Lang] ~w~Text



  • Like 1
Link to comment
Share on other sites

+1 - I've always liked when there was languages used in roleplay, or even accents.

I always had and still do roleplay Italian, I always have the [Italian Accent] before speaking.

If we could have some accents and languages, that would be great. My faction has many Italian people, so we could speak Italian to each other.

I really think this could improve and increase the potential of roleplay on the server.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and our Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.