HomeGuides
GithubWeb site

HelpPromt

📘

Available

Client

Syntax

HelpPromt(text)

Parameters

VariableType
textString

You can display controls with ~ACTION NAME~ :
Docs : https://docs.fivem.net/game-references/controls/

You can write in color with ~COLOR~ :
Docs : https://forum.fivem.net/t/release-fivem-core-v1/13209 ( go to Colour Formatting)

The default time is about 8s (8 000 ms) if you want to remove the HelpPrompt faster you can just recall the function

Exemples

exports.ft_libs:HelpPromt("Hello world")
exports.ft_libs:HelpPromt("INPUT_PICKUP Key : ~INPUT_PICKUP~")
exports.ft_libs:HelpPromt("You are the ~g~ Best")

In game results

200

Result for exemple 1

285

Result for exemple 2

205

Result for exemple 3