recreation of symtom claass and symbtom_list

This commit is contained in:
2023-09-03 21:50:27 +02:00
parent 79b0f2d2ac
commit 88b07a6194
5 changed files with 37 additions and 5 deletions

View File

@ -1,10 +1,11 @@
include("autorun/server/sv_symbtoms.lua")
symbtoms_list = include("sv_symbtoms.lua")
table.insert(Symbtoms_list, "cough" = cough_func)
table.insert(symbtoms_list, "cough" = cough)
--- Send a packet to trigger cough animation to the player
---@param side UID64 string? UID64 of the player
---@param side level float? A float between 0 and 1
---@return void
function cough(UID64)
function cough(UID64, level)
end

View File

@ -0,0 +1,3 @@
symbtoms_list = {}
return symbtoms_list

View File

@ -0,0 +1,11 @@
symbtoms_list = include("sv_symbtoms.lua")
table.insert(symbtoms_list, "vomit" = vomit)
--- Send a packet to trigger cough animation to the player
---@param side UID64 string? UID64 of the player
---@param side level float? A float between 0 and 1
---@return void
function vomit(UID64, level)
end