AddEventHandler.... not needed <3

This commit is contained in:
WLVF
2022-09-01 04:11:48 -04:00
parent 803727e4e0
commit 7f153e72b2
14 changed files with 33 additions and 66 deletions

View File

@@ -21,8 +21,7 @@ if config["/darkweb"].enabled then
end
if config["/911"].enabled then
RegisterNetEvent("ND_Chat:911")
AddEventHandler("ND_Chat:911", function(coords, callDescription)
RegisterNetEvent("ND_Chat:911", function(coords, callDescription)
local selectedCharacter
NDCore.Functions.GetSelectedCharacter(function(character)
selectedCharacter = character