What's new
Roleplay UK

Join the UK's biggest roleplay community on FiveM and experience endless new roleplay opportunities!

Multiple commands at once

Bobinz

Developer
Dev Team
Location
Los Santos
I was curious if there is a way to send multiple commands at once on the chat.

For example, i want to do /e surrender and /e namaste, to get on the praying position.
I tryed already
 

/e surrender && /e namaste

Code:
/e surrender + /e namaste
Code:
/e surrender ; /e namaste

and no success. Maybe there is a command that sends messages to the console? or even using the console (F8) ? 

Just curious about this 🙂 

 
Last edited by a moderator:
The way the commands work, in general terms, is it looks at what follows the / - it then looks to see what you typed. If it matches a known command it moves to the next step. Here it will look for parameters as to what's relevant to that command. In this example /e is the command and the parameter would be surrender.

However, at that point it doesn't break out to check the rest of the string to restart the commands - the command function will just break out and end.

You would need to run two separate commands as you probably currently do. You might be able to have a hotkey for a keyboard macro or similar to type it for you. You can also key bind a favourite emote key and set that in the emote menu so one command is done on keypress, the other on text command?

 
It is not about being difficult or not, just wanted to know if there is a way.

As I programmer myself, i tend to try to optimize stuff like that. 
Thank you JasonO for the explanation, i wonder tho if there were terminal alike commands for such thing. ( take linux for example where you can send multiple commands using the semicolon)

Nuclear, i am sorry if such questions annoy you, it was not my intention at all, but i though it would be ok to ask such things on this section of the forums.

Eitherway, it seems to not be possible. So feel free to close this. Dont wanna cause trouble or annoy more people.

 
Nuclear, i am sorry if such questions annoy you, it was not my intention at all, but i though it would be ok to ask such things on this section of the forums.
I think you missunderstood me, I was merely asking you a question.

 
Back
Top