bshr1997 Posted October 12, 2012 Share Posted October 12, 2012 (edited) السلام عليكم اخواني انا جالس اشتغل على شوب والحمدلله ماشية الامور بس ابي منكم كم كود 1-كود الاختفاء 2- السرعة 3-اصلاح السيارة 4- تفجير السيارة 5- انقلااب السيارة 6-اضافة نيترو 8-كود بودي قارد ٩- كود فك ميوت ١٠- كود وارب ١١- كود سوبر مان 12-كود super deagle 13-كود super sawn off 14- كود super m4 15-كود super sniper 16-اسم اللاعب بس اسم اللاعب ابيه لو سمحتوا بطريقة مفهومة لو ممكن ارجو الاجابة Edited October 12, 2012 by Guest Link to comment
Mr.T9 Posted October 12, 2012 Share Posted October 12, 2012 الطلب الاول كود الاخفاء addEvent("buyInvisible",true) addEventHandler("buyInvisible",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1500) then takePlayerMoney(source,1500) setElementData(source,"invELM",true) outputChatBox("You Will Be Invisible For 1.5 Minutes", source, 255, 255, 0, true) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Invisible", getRootElement(), 255, 0, 0, true ) setElementAlpha(source,0) setPlayerNametagShowing(source, false) setTimer( setElementAlpha, 70000, 1, source, 500, true) setTimer( setPlayerNametagShowing, 70000, 1, source, true, true) setTimer(function () outputChatBox("Invisible Has End !",source, 255, 255, 0, true) setElementData(source,"invELM",false) end,70000,1, true) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Invisible ) then triggerServerEvent("buyInvisible",getLocalPlayer()) end end ) الطلب الثاني السرعه addEvent("Speed",true) addEventHandler("Speed",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1650) then takePlayerMoney(source,1650) setGameSpeed(tonumber(10)) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Speed", getRootElement(), 255, 0, 0, true ) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Speed ) then triggerServerEvent("Speed",getLocalPlayer()) end end ) الطلب الثالث اصلاح السيارة addEvent("buyRepair",true) addEventHandler("buyRepair",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 200) then takePlayerMoney(source,200) fixVehicle(getPedOccupiedVehicle(source)) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Repair", getRootElement(), 255, 0, 0, true ) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Repair ) then triggerServerEvent("buyRepair",getLocalPlayer()) end end ) الطلب الخامس انقلاب السيارة addEvent("buyFlip",true) addEventHandler("buyFlip",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 100) then takePlayerMoney(source,100) rx, ry, rz = getVehicleRotation (getPedOccupiedVehicle(source)) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Flip", getRootElement(), 255, 0, 0, true ) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Flip ) then triggerServerEvent("buyFlip",getLocalPlayer()) end end ) الطلب السادس addEvent("buyNitro",true) addEventHandler("buyNitro",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 100) then takePlayerMoney(source,100) addVehicleUpgrade(getPedOccupiedVehicle(source),1010) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Nitro", getRootElement(), 255, 0, 0, true ) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Nitro ) then triggerServerEvent("buyNitro",getLocalPlayer()) end end ) الطلب السابع اسم اللاعب playerName = guiCreateLabel(6,10,300,70,'Your Name :',false,info) guiSetText ( playerName, getPlayerName(localPlayer)) function refreshStats() if guiGetVisible(info,true) then playerName(playerName," "..getPlayerName(getLocalPlayer())) else guiSetText(playerName,"Your Name :"..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) وإذا تبي تضيف لون على اسم اللاعب guiLabelSetColor(playerName,255,255,0) اتمنى اني افتك Link to comment
abu5lf Posted October 12, 2012 Share Posted October 12, 2012 (edited) الطلب الاولالطلب السابع اسم اللاعب playerName = guiCreateLabel(6,10,300,70,'Your Name :',false,info) guiSetText ( playerName, getPlayerName(localPlayer)) function refreshStats() if guiGetVisible(info,true) then playerName(playerName," "..getPlayerName(getLocalPlayer())) else guiSetText(playerName,"Your Name :"..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) وإذا تبي تضيف لون على اسم اللاعب guiLabelSetColor(playerName,255,255,0) اتمنى اني افتك playerName = guiCreateLabel ( 6, 10, 300, 70, 'Your Name :'.. getPlayerName(localPlayer) ..'', false, info ) addEventHandler ( 'onClientPlayerChangeNick', getLocalPlayer( ), function ( ) guiSetText (playerName, 'Your Name :'.. getPlayerName(localPlayer) ..'' ) end ) Edited October 12, 2012 by Guest Link to comment
Mr.T9 Posted October 12, 2012 Share Posted October 12, 2012 الطلب الاولالطلب السابع اسم اللاعب playerName = guiCreateLabel(6,10,300,70,'Your Name :',false,info) guiSetText ( playerName, getPlayerName(localPlayer)) function refreshStats() if guiGetVisible(info,true) then playerName(playerName," "..getPlayerName(getLocalPlayer())) else guiSetText(playerName,"Your Name :"..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) وإذا تبي تضيف لون على اسم اللاعب guiLabelSetColor(playerName,255,255,0) اتمنى اني افتك playerName = guiCreateLabel ( 6, 10, 300, 70, 'Your Name :'.. getPlayerName(localPlayer) ..'', false, info ) addEventHandler ( 'onClientRender', getRootElement( ), function ( ) guiSetText (playerName, 'Your Name :'.. getPlayerName(localPlayer) ..'' ) end ) مشكور على التعديل لكن استعجلت وانا متلخبط من كثر الطلبات Link to comment
bshr1997 Posted October 12, 2012 Author Share Posted October 12, 2012 مشكور والله افدتني بس ياريت تجاوبني على الطلبات الجديدة لو سمحت Link to comment
Mr.T9 Posted October 12, 2012 Share Posted October 12, 2012 انا بعطيك الطلب رقم 13 وبس سيرفر addEvent("Off",true) addEventHandler("Off",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1500) then takePlayerMoney(source,1500) giveWeapon(source, 26,1500) setPedWeaponSlot(source, getSlotFromWeapon(26)) setPedStat (source,73,999) local name = getPlayerName(source) outputChatBox ( "#FFFF1A*** [ #FFFFFF" .. name .. " #FFFF1A] Super Sawn-Off", getRootElement(), 255, 0, 0, true ) else outputChatBox("* You may not have enough Money!", source, 255, 0, 0, true) end end ) كلنت addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == Off ) then triggerServerEvent("Off",getLocalPlayer()) end end ) Link to comment
bshr1997 Posted October 12, 2012 Author Share Posted October 12, 2012 اخوي مشكور استفدت من كل كود وضعته انت الا كود اسم اللاعب لما احطه يطلع لي your name بس مو داخل النافذة يطلع لي برا ويبقى طالع ارجو انك فهمت علي Link to comment
Mr.T9 Posted October 12, 2012 Share Posted October 12, 2012 شوف انا حاط اسم التاب info عدله على اسم تاب info Link to comment
bshr1997 Posted October 12, 2012 Author Share Posted October 12, 2012 انا بعد اسم التاب حقي info Link to comment
Mr.T9 Posted October 12, 2012 Share Posted October 12, 2012 طيب انت ماخذ اي كود حق عاشق الشرق ولا اللي انا معطيك ؟ Link to comment
bshr1997 Posted October 12, 2012 Author Share Posted October 12, 2012 جربت الاثنين ولا واحد اشتغل يعني يطلع برا النافذة واذا اغلقت النافذة يبقى هو طالع من عند الشات Link to comment
Al3grab Posted October 13, 2012 Share Posted October 13, 2012 السلام عليكم اخواني انا جالس اشتغل على شوب والحمدلله ماشية الامور بس ابي منكم كم كود 1-كود الاختفاء 2- السرعة 3-اصلاح السيارة 4- تفجير السيارة 5- انقلااب السيارة 6-اضافة نيترو 8-كود بودي قارد ٩- كود فك ميوت ١٠- كود وارب ١١- كود سوبر مان 12-كود super deagle 13-كود super sawn off 14- كود super m4 15-كود super sniper 16-اسم اللاعب بس اسم اللاعب ابيه لو سمحتوا بطريقة مفهومة لو ممكن ارجو الاجابة ماتبي نجي نأكلك ونشربك مرة وحدة بعد .. Link to comment
Mr.T9 Posted October 13, 2012 Share Posted October 13, 2012 السلام عليكم اخواني انا جالس اشتغل على شوب والحمدلله ماشية الامور بس ابي منكم كم كود 1-كود الاختفاء 2- السرعة 3-اصلاح السيارة 4- تفجير السيارة 5- انقلااب السيارة 6-اضافة نيترو 8-كود بودي قارد ٩- كود فك ميوت ١٠- كود وارب ١١- كود سوبر مان 12-كود super deagle 13-كود super sawn off 14- كود super m4 15-كود super sniper 16-اسم اللاعب بس اسم اللاعب ابيه لو سمحتوا بطريقة مفهومة لو ممكن ارجو الاجابة ماتبي نجي نأكلك ونشربك مرة وحدة بعد .. 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