Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. Yes,I know that but he didn't say it's client side .,.
  2. My code was should work in the client or server side ._. i think that you don't test it.
  3. iPrestege

    Help

    You're Welcome .
  4. iPrestege

    Help

    You can do some thing like that : P local Pickup = createPickup (....); addEventHandler("onClientPickupHit",Pickup, function ( player ) if ( player == localPlayer ) then bindKey ("F","down",xxx); outputChatBox("* Press F To Play Music!",255,0,0,true); end end ); function xxx( ) playSound("FilePath",true); end
  5. function skin (player) setElementModel( player, 286 ) end addCommandHandler ( "girlskin", skin )
  6. iPrestege

    Help

    Like that? : local Pickup = createPickup (....); addEventHandler("onPickupHit",Pickup, function ( player ) if ( getElementType ( player ) == "player" ) then outputChatBox("* Press F To...",player,255,0,0,true); end end ); ._.
  7. iPrestege

    cancelEvent

    ._. What you are trying to do??
  8. iPrestege

    cancelEvent

    What you are trying to do ._.
  9. @ Sultan أشارهـ هذي تخلي الكود بدون لاق
  10. سوري >< كودي يا ريباك يصير كذا عكست شيء خطأ ذذ : GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(272, 117, 249, 370, "== ~ | Information Player | ~ ==", false); guiSetVisible(GUIEditor.window[1],false); guiWindowSetSizable(GUIEditor.window[1], false); guiSetAlpha(GUIEditor.window[1], 1.00); GUIEditor.button[1] = guiCreateButton(35, 32, 180, 38, "Copy My Serial !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF11ED21"); GUIEditor.button[2] = guiCreateButton(35, 81, 180, 38, "Show My Money In Chat !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFDBF409"); GUIEditor.button[3] = guiCreateButton(35, 131, 180, 38, "Show My Name In Chat !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF0582F7"); playerPing = guiCreateLabel(13, 186, 236, 19, "My Ping Is ! :", false, GUIEditor.window[1]); Skin = guiCreateLabel(13, 216, 236, 19, "MyID Skin is ! :", false, GUIEditor.window[1]); id = guiCreateLabel(13, 245, 236, 19, "My ID is ! :", false, GUIEditor.window[1]); playerWeapon = guiCreateLabel(13, 273, 236, 19, "MyIDWeapon is ! :", false, GUIEditor.window[1]); health = guiCreateLabel(13, 300, 236, 19, "My Health ! :", false, GUIEditor.window[1]); playerArmor = guiCreateLabel(13, 326, 236, 19, "My Armor ! :", false, GUIEditor.window[1]); GUIEditor.label[7] = guiCreateLabel(148, 346, 95, 17, "By : Mr.Ray[b]ak", false, GUIEditor.window[1]); GUIEditor.button[4] = guiCreateButton(225, 22, 15, 26, "X", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA"); bindKey("F3","down", function ( ) guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])); showCursor(guiGetVisible(GUIEditor.window[1])); end ); addEventHandler("onClientRender", root, function () if ( guiGetVisible( GUIEditor.window[1] ) == true ) then guiSetText(playerWeapon,"MyIDWeapon is ! :"..getPedWeapon(localPlayer)); guiSetText(id,"My ID is ! :"..getElementRadius(localPlayer)); guiSetText(playerPing,"My Ping Is ! :"..getPlayerPing(localPlayer)); guiSetText(Skin,"MyID Skin is ! :"..getPedSkin(localPlayer)); guiSetText (health,"My Health ! :"..getElementHealth(localPlayer)); guiSetText (playerArmor,"My Armor ! :"..getPedArmor(localPlayer)); end end ); addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setClipboard ( " " .. getPlayerSerial(localPlayer) .. " " ) outputChatBox(" * Serial Copied!",255,255,0,true); elseif ( source == GUIEditor.button[2] ) then triggerServerEvent ("showMoney", localPlayer) guiSetEnabled(GUIEditor.button[2],false) setTimer(guiSetEnabled,60000,1,GUIEditor.button[2],true) elseif ( source == GUIEditor.button[3] ) then guiSetEnabled(GUIEditor.button[3],false) setTimer(guiSetEnabled,60000,1,GUIEditor.button[3],true) -- Some Thing You Want elseif ( source == GUIEditor.button[4] ) then guiSetVisible(GUIEditor.window[1],false); showCursor(false); end end ); addEventHandler("onClientResourceStart",resourceRoot, function ( ) setTimer(function ( ) for _,v in ipairs ( getElementsByType("gui-label",resourceRoot ) ) do guiLabelSetColor ( v, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) ; end end,50,0); end );
  11. ?? عافس ام الكود أخووي مع احترامي لك رتبتة لك بس شوف سويت لك مثلا اذا ضغط زر اظهار الاسم او الفلوس الزر يقفل ويفتح بعد دقيقة أفضل ذذ و سويت لك كل الازرار الزر الاول ينسخ السريال الزر الثاني يرسل ترايقر عشان يظهر الفلوس الزر الثالث حق اظهار الاسم بس سويت حق يقفل الزر لانك ماسويت أي شيء يسوية سوي اللي تبية و الزر حق الاغلاق سويتةة وهذا هو الكود : GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(272, 117, 249, 370, "== ~ | Information Player | ~ ==", false); guiSetVisible(GUIEditor.window[1],false); guiWindowSetSizable(GUIEditor.window[1], false); guiSetAlpha(GUIEditor.window[1], 1.00); GUIEditor.button[1] = guiCreateButton(35, 32, 180, 38, "Copy My Serial !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF11ED21"); GUIEditor.button[2] = guiCreateButton(35, 81, 180, 38, "Show My Money In Chat !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFDBF409"); GUIEditor.button[3] = guiCreateButton(35, 131, 180, 38, "Show My Name In Chat !", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF0582F7"); playerPing = guiCreateLabel(13, 186, 236, 19, "My Ping Is ! :", false, GUIEditor.window[1]); Skin = guiCreateLabel(13, 216, 236, 19, "MyID Skin is ! :", false, GUIEditor.window[1]); id = guiCreateLabel(13, 245, 236, 19, "My ID is ! :", false, GUIEditor.window[1]); playerWeapon = guiCreateLabel(13, 273, 236, 19, "MyIDWeapon is ! :", false, GUIEditor.window[1]); health = guiCreateLabel(13, 300, 236, 19, "My Health ! :", false, GUIEditor.window[1]); playerArmor = guiCreateLabel(13, 326, 236, 19, "My Armor ! :", false, GUIEditor.window[1]); GUIEditor.label[7] = guiCreateLabel(148, 346, 95, 17, "By : Mr.Ray[b]ak", false, GUIEditor.window[1]); GUIEditor.button[4] = guiCreateButton(225, 22, 15, 26, "X", false, GUIEditor.window[1]); guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA"); bindKey("F3","down", function ( ) guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])); showCursor(guiGetVisible(GUIEditor.window[1])); end ); addEventHandler("onClientRender", root, function () if ( guiGetVisible( GUIEditor.window[1] ) == true ) then guiSetText(playerWeapon,"MyIDWeapon is ! :"..getPedWeapon(localPlayer)); guiSetText(id,"My ID is ! :"..getElementRadius(localPlayer)); guiSetText(playerPing,"My Ping Is ! :"..getPlayerPing(localPlayer)); guiSetText(Skin,"MyID Skin is ! :"..getPedSkin(localPlayer)); guiSetText (health,"My Health ! :"..getElementHealth(localPlayer)); guiSetText (playerArmor,"My Armor ! :"..getPedArmor(localPlayer)); end end ); addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setClipboard ( " " .. getPlayerSerial(localPlayer) .. " " ) outputChatBox(" * Serial Copied!",255,255,0,true); elseif ( source == GUIEditor.button[2] ) then triggerServerEvent ("showMoney", localPlayer) guiSetEnabled(GUIEditor.button[2],false) setTimer(guiSetEnabled,60000,1,GUIEditor.button[2],true) elseif ( source == GUIEditor.button[3] ) then guiSetEnabled(GUIEditor.button[1],false) setTimer(guiSetEnabled,60000,1,GUIEditor.button[1],true) -- Some Thing You Want elseif ( source == GUIEditor.button[4] ) then guiSetVisible(GUIEditor.window[1],false); showCursor(false); end end ); addEventHandler("onClientResourceStart",resourceRoot, function ( ) setTimer(function ( ) for _,v in ipairs ( getElementsByType("gui-label",resourceRoot)) do guiLabelSetColor ( v, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) ; end end,50,0); end );
  12. السلام عليكم ورحمة الله وبركاته مساكم الله بالخير اليوم حبيت اطرح لكمم موضوع نبذة عن الموضوع : لإبليس اللعين ستة طرق للدخول إلى قلبك الذي يجب أن يكون معلق بالله فقط ، فيجب عليك معرفتها لكي تأخذ الحذر و تحكم على نفسك أين وصل إبليس من تمكنه منك و إذا وجدت نفسك في مراتب عالية فإنك بذلك عدو إبليس اللدود .. أعانك الله هل تعرف مرتبتك عند إبليس ؟ ان العمل بدون حقوق , خالص لوجه الله .
  13. لآ عآيدي بس تعود ع المنتدى الالوان :: احمر = كلنت برتقالي = سيرفر ازرق = اثنينهم اخضر = وظائف مفيدهـ
  14. ورني الكود حقك لانة شغال معي كلينت
  15. اية ماتبية ؟ bindKey("w","down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ); if ( vehicle ) then createProjectile(vehicle,19); end end ); addEventHandler("onClientResourceStart",resourceRoot, function ( ) setWorldSpecialPropertyEnabled ( "aircars",true ); end );
  16. لا يخترق شف ذا المثال : local object = createObject(id,x,y,z); addCommandHandler("join", function ( ) setElementCollidableWith(object,localPlayer,not isElementCollidableWith(object,localPlayer)); end ); اكتب باف 8 join بيخلية يخترق تكتبها ثانية يخلية ماتقدر تخترق جرب وشوف كلنت !
  17. -- Client -- bindKey("w","down", function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ); if ( vehicle ) then createProjectile(vehicle,19); outputChatBox("* تم اطلاق الصاروخ سيدي",255,255,0,true); else outputChatBox("* يجب ان تكون في سيارتك ",255,0,0,true); end end ); addEventHandler("onClientResourceStart",resourceRoot, function ( ) setWorldSpecialPropertyEnabled ( "aircars",true ); end );
×
×
  • Create New...