Désactiver l’utilisation du téléphone après une mort:
Remplacer la ligne 75-87 gcphone \ client \ client.lua par les lignes ci-dessous :
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if takePhoto ~= true then
if IsControlJustPressed(1, KeyOpenClose) then
local ped = GetPlayerPed(-1)
if not IsPedDeadOrDying(GetPlayerPed(player)) then
hasPhone(function (hasPhone)
if hasPhone == true then
TooglePhone()
else
ShowNoPhoneWarning()
end
end)
end
end