Skip to content

Commit

Permalink
Bloque le joueurs qui repond à un telephone fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gannon001 committed Jun 22, 2018
1 parent b608349 commit fc93c05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

![Image of gcphone1](https://i.imgur.com/naTiBgI.png)
![Image of gcphone2](https://i.imgur.com/LAicovK.png)
![Image of gcphone3](https://i.imgur.com/LAicovK.png)
![Image of gcphone4](https://i.imgur.com/imWPohA.png)
![Image of gcphone5](https://i.imgur.com/rzWdDMy.png)
![Image of gcphone3](https://i.imgur.com/imWPohA.png)
![Image of gcphone4](https://i.imgur.com/rzWdDMy.png)
![Image of gcphone5](https://i.imgur.com/9h7eiI8.png)


## Fonctionalitées
Expand Down
6 changes: 3 additions & 3 deletions resources/gcphone/client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function startFixeCall (fixeNumber)
number = GetOnscreenKeyboardResult()
end
if number ~= '' then
print('stat', number)
TriggerEvent('gcphone:autoCall', number, {
useNumber = fixeNumber
})
Expand Down Expand Up @@ -94,13 +93,14 @@ Citizen.CreateThread(function ()
AddTextComponentString("~INPUT_PICKUP~ Décrocher")
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
if IsControlJustPressed(1, KeyTakeCall) then
PhonePlayCall(true)
TakeAppel(PhoneInCall[i])
PhoneInCall = {}
StopSound(soundId)
end
end
break
end
break
end
end
if inRangeToActivePhone == false then
showFixePhoneHelper(coords)
Expand Down

0 comments on commit fc93c05

Please sign in to comment.