Add _source

This commit is contained in:
Jérémie N'gadi
2017-08-09 10:04:00 +02:00
parent 455fe5cb6c
commit 6d6682a324
+2 -1
View File
@@ -181,7 +181,8 @@ end)
RegisterServerEvent('esx_phone:addPlayerContact')
AddEventHandler('esx_phone:addPlayerContact', function(phoneNumber, contactName)
local xPlayer = ESX.GetPlayerFromId(source)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local xPlayers = ESX.GetPlayers()
local foundNumber = false
local foundPlayer = nil