From the reference libraryFiveM

this will run 'say hello', wait 1.5 second (1500 milliseconds), and run 'e wave'

fivem-docs/docs/cookbook/2021/12/21/making-a-console-key-bind-wait-between-commands.md

this will run 'say hello', wait 1.5 second (1500 milliseconds), and run 'e wave'

bind keyboard F11 "say hello; wait 1500; e wave"


---

*Original discussion thread: [https://forum.fivem.net/t/making-a-console-key-bind-wait-between-commands/4791223](https://forum.fivem.net/t/making-a-console-key-bind-wait-between-commands/4791223)*

bind keyboard F11 "say hello; wait 1500; e wave"

Original discussion thread: https://forum.fivem.net/t/making-a-console-key-bind-wait-between-commands/4791223

Back to documentation