Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Fix issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyben committed May 16, 2017
1 parent 2e35979 commit a29b244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/sv_emergency.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ AddEventHandler('es_em:sendEmergency',
RegisterServerEvent('es_em:getTheCall')
AddEventHandler('es_em:getTheCall',
function(playerName, playerID)
function(playerName, playerID, x, y, z, sourcePlayerInComa)
TriggerEvent("es:getPlayers", function(players)
for i,v in pairs(players) do
TriggerClientEvent('es_em:callTaken', i, playerName, playerID)
TriggerClientEvent('es_em:callTaken', i, playerName, playerID, x, y, z, sourcePlayerInComa)
end
end)
end
Expand Down

0 comments on commit a29b244

Please sign in to comment.