Skip to content

Commit

Permalink
isim değiştince güncellenme eklendi
Browse files Browse the repository at this point in the history
  • Loading branch information
mahlukat5 authored Jul 1, 2022
1 parent ff4c71d commit a949a12
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions c_nametags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,17 @@ addEventHandler("onClientElementStreamIn",root,function()
updateIcons(source)
end
end)
addEventHandler("onClientPlayerChangeNick",root,function()
updateIcons(source)
end)
addEventHandler("onClientVehicleExit", root,function(oyuncu, seat)
if isElementStreamedIn(oyuncu) then
updateIcons(oyuncu)
updateIcons(oyuncu)
end
end)
addEventHandler("onClientVehicleEnter", root,function(oyuncu, seat)
if isElementStreamedIn(oyuncu) then
updateIcons(oyuncu)
updateIcons(oyuncu)
end
end)
function updateIcons(oyuncu)
Expand Down

0 comments on commit a949a12

Please sign in to comment.