1
0
mirror of https://github.com/citizenfx/cfx-server-data.git synced 2026-05-14 17:32:56 +08:00

runcode: improved UI, in-game support, JS support

This commit is contained in:
blattersturm
2019-10-21 15:04:55 +02:00
Unverified
parent 64a26ad1de
commit 54f75bca86
10 changed files with 702 additions and 57 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
RegisterNetEvent('runcode:gotSnippet')
AddEventHandler('runcode:gotSnippet', function(id, code)
local res, err = RunCode(code)
AddEventHandler('runcode:gotSnippet', function(id, lang, code)
local res, err = RunCode(lang, code)
if not err then
if type(res) == 'vector3' then