Jump to content

طلب مود مهم


MOKET

Recommended Posts

showPlayerHudComponent
  • component: The component you wish to show or hide. Valid values are:
  • ammo: The display showing how much ammo the player has in their weapon
  • area_name: The text that appears containing the name of the area a player has entered
  • armour: The display showing the player's armor
  • breath: The display showing the player's breath
  • clock: The display showing the in-game time
  • health: The display showing the player's health
  • money: The display showing how much money the player has
  • radar: The bottom-left corner miniradar
  • vehicle_name: The text that appears containing the player's vehicle name when the player enters a vehicle
  • weapon: The display showing the player's weapon
  • radio: The display showing the radio label
  • wanted: The display showing the player's wanted level
  • crosshair: The weapon crosshair and sniper scope
  • all: All of the above at the same time
  • show: Specify if the component should be shown (true) or hidden (false)
Link to comment

سلام عليكم

انا مسوي مود اظهار الفلوس للتكتيك

عشانه تعرفون مود التكتيك يخفيها وكذا

المهم 

بتظهر الفلوس وكلشي تمام

بس بين كل جوله يرجع كمان مره يختفي

وش الحل ؟

كود الكلينت

 

local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" }

addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),
function ()
	for _, component in ipairs( components ) do
		setPlayerHudComponentVisible( component, true )
	end
end)

كود السيرفر

 

addEventHandler ( "onPlayerJoin", root, 
    function ()
        setPlayerHudComponentVisible ( source, "ammo", true )    -- Hide the ammo displays for the newly joined player
        setPlayerHudComponentVisible ( source, "weapon", true )  -- Hide the weapon displays for the newly joined player
    end
)

 

Link to comment
2 minutes ago, #\_oskar_/# said:

التعديل لازم يكون من المود حقك 

وضح؟ قصدك التكتيك

هو يختفي كل جولة او كل كيل :]

يوم يظهر money

Edited by MOKET
Link to comment
1 minute ago, #\_oskar_/# said:

كل جوله يسوي تحديث وبالتالي اي شئ بتسويه انت بيختفي

جرب سوي رندر عليه بس اظن انه راح يسبب لاق

اغلب السيرفرات مسويته ،

عادي مابه شي ،

ريندر م ضضبط

Link to comment
8 hours ago, A7MEDENO said:

--Client Side

addEventHandler("onClientResourceStart", root,
  function()
    setTimer( function()
        setPlayerHudComponentVisible("money", true)
    end, 1000, 0 )
  end
)

 

مشكور :]

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...