iMr#m7mad Posted February 11, 2015 Share Posted February 11, 2015 السلام عليكم ورحمه الله وبركانه hud انا بركب مود الهود بس مش عارف كيف اشيل النجوم حقت السيرفر وركب مود الجديد اسمه ب اختصار يعني شو اسم الملف حق النجوم عشان اشيله وركب النجوم الجدد Link to comment
ahmedfef Posted February 11, 2015 Share Posted February 11, 2015 showPlayerHudComponent Link to comment
iMr#m7mad Posted February 11, 2015 Author Share Posted February 11, 2015 addEventHandler ( "onPlayerJoin", root, function () setPlayerHudComponentVisible ( source, "ammo", false ) setPlayerHudComponentVisible ( source, "weapon", false ) setPlayerHudComponentVisible( "wanted", false ) setPlayerHudComponentVisible( "all", false ) end ) شوف ذا الكود بس مو شغال .. Link to comment
Tete omar Posted February 11, 2015 Share Posted February 11, 2015 ينقل إلى قسم البرمجة Link to comment
The Killer Posted February 11, 2015 Share Posted February 11, 2015 addEventHandler ( "onPlayerJoin", root, function () setPlayerHudComponentVisible (source, "wanted", false ) end ) Link to comment
iMr#m7mad Posted February 11, 2015 Author Share Posted February 11, 2015 الكود غلط برضو Link to comment
# L 7 N Posted February 12, 2015 Share Posted February 12, 2015 (edited) for k,v in ipairs ( getElementsByType ('player') ) do setPlayerHudComponentVisible (v, "ammo", false) setPlayerHudComponentVisible (v, "weapon", false) setPlayerHudComponentVisible (v, "wanted", false) setPlayerHudComponentVisible (v, "all", false) end addEventHandler ("onPlayerJoin", root, function () setPlayerHudComponentVisible (source, "ammo", false) setPlayerHudComponentVisible (source, "weapon", false) setPlayerHudComponentVisible (source, "wanted", false) setPlayerHudComponentVisible (source, "all", false) end) جرب Edited February 12, 2015 by Guest Link to comment
The Don Posted February 12, 2015 Share Posted February 12, 2015 -- Client Side addEventHandler('onClientResourceStart',resourceRoot, function() setPlayerHudComponentVisible('wanted',false) end ) Link to comment
' A F . Posted February 12, 2015 Share Posted February 12, 2015 جرب addEventHandler("onClientResourceStart",resourceRoot, function () showPlayerHudComponent("all",false) showPlayerHudComponent("radar",true) showPlayerHudComponent("crosshair",true) end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now