I noticed a runcode resource that came with fivem and im just wondering how the hell you use it lol ?
EDIT: Figured it out, you gotta add yourself to the admin thing in the server.cfg not sure about the web section though
On Discord it was said, by an element, that “runcode is like mtasa runcode” and it’s use was “a /run and /crun command to run arbitrary Lua, + a web page at /runcode/ on the server” additionally “the latter is the main attraction, is an example of doing web stuff in server :p”
ah okay thanks! 20chars
Mind enlighten me where I can find this runcode tool?
Ooh thats why, I never update server data hehe, thanks!
then you put your servers ip and port in url eg 127.0.0.1:30120/runcode/
like that, make sure u have the final / or it wont work!
what is runcode suppose to do?
As described in this post:
HttpHandlers, which a great usage/example of how to use them is seen in the runcode resource from the cfx-server-data repo.
It definitely comes in useful when you’re testing things like natives as you don’t have to write up an entire resource for a single native