Jump to content

LordLinderberg

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by LordLinderberg

  1. That only disable the radar... I need start the Hud resource. PS: Hud is a resource name.
  2. This is the gamemode hud script. But I don't want to activate the radar, but activate the another resource called Hud.
  3. Hey! I use a MTA DayZ Original (v0.5.5) gamemode, but I need to export functions of a resource for the gamemode. I can't post the code, not this time. Code function from MTA DayZ gamemode: client-side function playerStatsClientSite() if getElementData(getLocalPlayer(),"logedin") then toggleControl ("radar",false) showPlayerHudComponent ("clock",false) showPlayerHudComponent ("radar",false) showPlayerHudComponent ("money",false) showPlayerHudComponent ("health",false) --showPlayerHudComponent ("weapon",false) --showPlayerHudComponent ("ammo",false) showPlayerHudComponent ("breath",false) if getElementData(getLocalPlayer(),"Map") >= 1 then toggleControl ("radar",true) end if getElementData(getLocalPlayer(),"GPS") >= 1 then showPlayerHudComponent ("radar",true) end if getElementData(getLocalPlayer(),"Watch") >= 1 then showPlayerHudComponent ("clock",true) end end end setTimer(playerStatsClientSite,1000,0) But this part: if getElementData(getLocalPlayer(),"GPS") >= 1 then showPlayerHudComponent ("radar",true) end Need, rather than on / off the radar, it enable resource called hud. But if you do not have the GPS item, must stop the resource HUD. Someone can help me? SORRY FOR MY ENGLISH.
×
×
  • Create New...