#STZ Posted June 15, 2016 Share Posted June 15, 2016 السلام عليكم و رحمة الله و بركاته اليوم عندي سوال ابي اعرف كيف اسوي مثل اللي في الصورة اتمني الافادة والسلام عليكم و رحمة الله و بركاته Link to comment
YourMind Posted June 16, 2016 Share Posted June 16, 2016 'onPlayerLogin' isObjectInACLGroup triggerClientEvent - l = guiCreateLabel(,,,,) guiSetVisible addEvent addEventHandler guiSetVisible Link to comment
' A F . Posted June 16, 2016 Share Posted June 16, 2016 + guiGetPosition guiSetPosition Link to comment
Me[Z]oO Posted June 16, 2016 Share Posted June 16, 2016 'onPlayerLogin' l = guiCreateLabel(,,,,) بالصورة dxDrawText Link to comment
N3xT Posted June 16, 2016 Share Posted June 16, 2016 ذا مود خاص بالوزارة : dxDrawText interpolateBetween setTimer Link to comment
#STZ Posted June 16, 2016 Author Share Posted June 16, 2016 يا بلاك نكست مابي المود ولا ابي اي شي من الوزاره جبتلكم مثال مستر جراند في مود الاملاك لخاصة حقه مسويها لو سمحت ابي جاهز لاني معندي خبرة بالدي اكس Link to comment
Me[Z]oO Posted June 16, 2016 Share Posted June 16, 2016 --Client function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end function dx() dxDrawText("Welcome VIP",x,y,x,y,tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) --x,y,x,y الاحداثيات بدلها end addEvent("DxVisibleTrue",true) addEventHandler("DxVisibleTrue",root, function() if isEventHandlerAdded("onClientRender",root,dx) removeEventHandler("onClientRender",root,dx) else addEventHandler("onClientRender",root,dx) end end) --Server addEventHandler("onPlayerLogin",root, function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName , aclGetGroup ( "VIP" ) ) then -- اسم القروب VIP @@@@@@@@ triggerClientEvent(source,"DxVisibleTrue",source) end 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