-
Posts
2,156 -
Joined
-
Last visited
-
Days Won
6
Everything posted by ' A F .
-
@s7BaT getPlayerMoney بـ الكلينت مافيه ارقمنت اللاعب ..
-
غير مجرب addEventHandler("onPlayerChat",root, function ( Message ) if ( Message == "دم" ) then if ( getPlayerMoney ( source ) >= 100 ) then takePlayerMoney ( source , 100 ) setElementHealth ( source , 100 ) outputChatBox(getPlayerName(source).." قام بشراء دم",root,255,255,255,true) end elseif ( Message == "درع" ) then if ( getPlayerMoney ( source ) >= 100 ) then takePlayerMoney ( source , 100 ) setPedArmor ( source , 100 ) outputChatBox(getPlayerName(source).." قام بشراء درع",root,255,255,255,true) end end end )
-
onElementModelChange getPlayerSerial
-
بـ التوفيق لكم ..
-
اسمي لاااااااااااااااااااااااااااااااااااااااااااااااااااااا تنصيل لول
-
@1XxCr{o}sS line 13 : stTimer to setTimer
-
يا اخي انت ولعبة حاولو تعتمدوا علي حالكم شوي وش بك انت وهو كل يوم 15 موضوع ومحتواهم تافه -,- روح حاول تعتمدعلي نفسك شوي +1,100
-
الكود ذا يتحقق لو كان الماوس على الـ Position الي انت حطيته يرجع لك ترو
-
-- Client function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing ( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end addEventHandler("onClientClick",root, function ( Button ,State ) if ( aVisible and Button == "left" and State == "up" ) then if ( isMouseInPosition ( x , y , w , h ) ) then triggerServerEvent("onFix",localPlayer) end end end ) -- Server addEvent("onFix",true) addEventHandler("onFix",root, function ( ) if ( getPlayerMoney ( client ) >= 100 ) then if ( getPedOccupiedVehicle ( client ) ) then fixVehicle ( getPedOccupiedVehicle ( client ) ) takePlayerMoney ( client , 100 ) end end end ) بدل الـ x,y,w,h = بـ احداثيات الـ Rectangle
-
onClientClick isMouseInPosition triggerServerEvent getPlayerMoney getPedOccupiedVehicle takePlayerMoney fixVehicle
-
function adham() dxDrawRectangle(150, 197, 506, 228, tocolor(255, 255, 255, 150), false) dxDrawRectangle(110, 198, 10, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(130, 197, 549, 32, tocolor(44, 1, 39, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(203, 261, 90, 93, ":guieditor/images/Repair.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(174, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(327, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(482, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawText("Alex Shop", 316, 197, 577, 225, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Buy ($250)", 369, 370, 482, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($1500)", 517, 370, 630, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($900)", 209, 370, 322, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
-
مانبي نعطي الموضوع اكثر من حجمه : جربت ذا الكود وظبط معي .. function adham ( ) dxDrawText("MultiTheftAuto", 241, 235, 609, 268, tocolor(255, 255, 255, 255), 2.00, "bankgothic", "center", "center", false, false, false, false, false) end aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
-
انا اكتبه فالنوت باد ويعطيني خيارات واخترت ذا سريع سريع وهي تتشابه بعد عرفت ههههههء تم التعديل ومشكور عالتنبيه ^ العفو
-
aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
-
@[A]nD> Line2 : getElemenetsByType to getElementsByType