Vorp Core Tutorial IconVorp Core Tutorial Icon

This code is a native, and does not require any core to function, and is therefore compatible with all cores.

client.lua

Add the following code to your client.lua or any client script.

---------------------------------------------------
--- How do I make a / chat command
---------------------------------------------------
---- example chat command == /new_command
RegisterCommand("new_command", function(source)         
    -- do something code here. 
end) 

If you create any files make sure to add them to the fxmanifest.lua file under client or server scripts.

— Want more help? we are here: dragon code https://discord.gg/WPtnPbXhWY

Tutorial Poll

0
Tutorial - How do I make a / chat command?

Was this tutorial helpful?

You will be redirected

Relevant Tutorials

Dragon Codes