AddEventHandler.... not needed <3

This commit is contained in:
WLVF committed 2022-09-01 04:11:48 -04:00
1 parent 803727e4e0
commit 7f153e72b2
14 files changed
+33 -66

No files matched your search

+1 -2
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