Jump to content

Bo7meeeD

Members
  • Posts

    288
  • Joined

  • Last visited

Everything posted by Bo7meeeD

  1. ابحث عنه كل شي تبيه جاهز ؟ حنا تعلمنا من الويكي هي خبره مو كل اللي هنا نفس المستوى !
  2. جرب addEventHandler("onVehicaleEnter",root, function () setVehicleDamageProof(source, true) end)
  3. تعلم تبرمج وسوها بنفسك ! اطرح كود انت مسويه ونصلحه لك امآ تسرق اكوآد الناس محد راحح يساعدك
  4. انت جريت اللي عطيتك ؟ انا مجربه وتمام
  5. الحدث شغال بسس عندك خطأأ كبيرر marker2= createMarker(1788.9067382813,871.54949951172,10.395232200623,"cylinder",0.2,255,255,255,255)- حجمم الماركر صغير ماتقدر تشوفهه التعديل marker2= createMarker(1788.9067382813,871.54949951172,10.395232200623,"cylinder",10,255,255,255,255)-
  6. thePed = createPed ( 282, 1513.3770751953, -1677.8481445313, 14.046875 ) theMarker = createMarker ( 1513.5129394531, -1675.0975341797, 14.046875, "cylinder", 15, 0, 0, 0, 0 ) setPedStat ( thePed, 77, 999 ) setPedWeaponSlot ( thePed, 3 ) attachElements ( theMarker, thePed, 0, 0, -1 ) setTimer ( giveWeapon, 5000, 0, thePed, 30, 99999, true ) addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( hitPlayer ) if (getTeamName(getPlayerTeam(hitPlayer)) == "team") then if getElementType ( hitPlayer ) == "player" then if getPlayerTeam ( hitlayer ) == getTeamFromName ( "Skulls" ) then triggerClientEvent ( hitPlayer, "setPedAttacking", hitPlayer, thePed ) if isPedInVehicle ( hitPlayer ) then destroyElement ( getPedOccupiedVehicle ( hitPlayer ) ) else cancelEvent () end end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePed ) setTimer ( giveWeapon, 500, 1, thePed, 30, 99999, true ) end end ) WTF !!! ^ مسوي ترايقر و الكود سيرفر وبس , وين الكلنت ؟ triggerClientEvent ( hitPlayer, "setPedAttacking", hitPlayer, thePed ) + triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePed ) الكود ككامل موجود فوق انا عدلت له السيرفر بس اهو يبي لتيم معين سويته والكلنت ماتغير
  7. thePed = createPed ( 282, 1513.3770751953, -1677.8481445313, 14.046875 ) theMarker = createMarker ( 1513.5129394531, -1675.0975341797, 14.046875, "cylinder", 15, 0, 0, 0, 0 ) setPedStat ( thePed, 77, 999 ) setPedWeaponSlot ( thePed, 3 ) attachElements ( theMarker, thePed, 0, 0, -1 ) setTimer ( giveWeapon, 5000, 0, thePed, 30, 99999, true ) addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( hitPlayer ) if (getTeamName(getPlayerTeam(hitPlayer)) == "team") then if getElementType ( hitPlayer ) == "player" then if getPlayerTeam ( hitlayer ) == getTeamFromName ( "Skulls" ) then triggerClientEvent ( hitPlayer, "setPedAttacking", hitPlayer, thePed ) if isPedInVehicle ( hitPlayer ) then destroyElement ( getPedOccupiedVehicle ( hitPlayer ) ) else cancelEvent () end end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePed ) setTimer ( giveWeapon, 500, 1, thePed, 30, 99999, true ) end end )
  8. viewtopic.php?f=164&t=50471 ممكن يفيدك
  9. المود ذا موجود في cit !
  10. ماتعرف تسويه ؟؟ حاول ونصلحه لك ! استخدم : destroyElement onPlayerWasted
  11. اعتقد ان الرابع الارتفاع ! @ مثل ماقالك اخوي برستيج الارتفاع والعرض !
  12. GUIEditor = { staticimage = {}, edit = {}, } button = {} GUIEditor.staticimage[1] = guiCreateStaticImage(388, 185, 560, 484, "images/logo.png", false) guiSetVisible ( GUIEditor.staticimage[1], true ) showCursor(true) GUIEditor.staticimage[2] = guiCreateStaticImage(14, 88, 110, 86, "images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(14, 256, 110, 86, "images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(139, 127, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(139, 289, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(100, 0, 392, 124, "images/user.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[6] = guiCreateStaticImage(139, 180, 326, 109, "images/pass.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[7] = guiCreateStaticImage(38, 364, 133, 111, "images/password.png", false, GUIEditor.staticimage[1]) button.login = guiCreateButton(-0.32, -0.40, 2.26, 1.72, "", true, GUIEditor.staticimage[7]) guiSetAlpha(button.login, 0.00) GUIEditor.staticimage[8] = guiCreateStaticImage(397, 363, 131, 111, "images/regsiter.png", false, GUIEditor.staticimage[1]) button.register = guiCreateButton(-22, -6, 258, 155, "", false, GUIEditor.staticimage[8]) guiSetAlpha(button.register, 0.00) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(GUIEditor.edit[1]) local pass = guiGetText(GUIEditor.edit[2]) if ( source == button.login ) then if string.len(user) > 0 and string.len(pass) > 0 then triggerServerEvent("onLogin",localPlayer,user,pass) showCursor(false) guiSetVisible ( GUIEditor.staticimage[1], false ) end elseif ( source == button.register ) then if string.len(user) > 0 and string.len(pass) > 0 then triggerServerEvent("onRegister",localPlayer,user,pass) showCursor(false) guiSetVisible ( GUIEditor.staticimage[1], false ) end end end )
  13. showCursor ( true ) guiSetVisible ( GUIEditor.staticimage[1], false) showCursor ( false )
  14. ضض1 هذا اككثر شي يواجهني ككيف اصلحها ؟ لاتستخدم ذا الحدث onClientPlayerJoin استخدم هذ ا الحدث addEventHandler('onClientResourceStart', getResourceRootElement(getThisResource()), function() -----your Code end ) اها فهمتك
  15. +1 وش اللي انلحست فيه وانا اشرحه لك؟ روح موضوعي وتعرف
  16. ضض1 هذا اككثر شي يواجهني ككيف اصلحها ؟
  17. كذا ؟ GUIEditor.staticimage[1] = guiCreateStaticImage(388, 185, 560, 484, ":guI/images/examples/logo.png", false) guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.staticimage[2] = guiCreateStaticImage(14, 88, 110, 86, "images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(14, 256, 110, 86, "/images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(139, 127, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(139, 289, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(100, 0, 392, 124, "images/user.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[6] = guiCreateStaticImage(139, 180, 326, 109, "images/pass.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[7] = guiCreateStaticImage(38, 364, 133, 111, "images/password.png", false, GUIEditor.staticimage[1]) button.login = guiCreateButton(-0.32, -0.40, 2.26, 1.72, "", true, GUIEditor.staticimage[7]) GUIEditor.staticimage[8] = guiCreateStaticImage(397, 363, 131, 111, "images/regsiter.png", false, GUIEditor.staticimage[1]) button.register = guiCreateButton(-22, -6, 258, 155, "", false, GUIEditor.staticimage[8]) addEventHandler("onClientPlayerJoin", getRootElement(), function () guiSetVisible ( GUIEditor.staticimage[1], true ) end ) تستهبل انت addEventHandler("onClientPlayerJoin", getRootElement(), function () guiSetVisible ( GUIEditor.staticimage[1], true ) end ) ماراح يطلع لك راح يطلب للاعبين اللي في الروم كيف مافهمت يعني يطلع لكل الاعبين ؟
  18. كذا ؟ GUIEditor.staticimage[1] = guiCreateStaticImage(388, 185, 560, 484, ":guI/images/examples/logo.png", false) guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.staticimage[2] = guiCreateStaticImage(14, 88, 110, 86, "images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(14, 256, 110, 86, "/images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(139, 127, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(139, 289, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(100, 0, 392, 124, "images/user.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[6] = guiCreateStaticImage(139, 180, 326, 109, "images/pass.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[7] = guiCreateStaticImage(38, 364, 133, 111, "images/password.png", false, GUIEditor.staticimage[1]) button.login = guiCreateButton(-0.32, -0.40, 2.26, 1.72, "", true, GUIEditor.staticimage[7]) GUIEditor.staticimage[8] = guiCreateStaticImage(397, 363, 131, 111, "images/regsiter.png", false, GUIEditor.staticimage[1]) button.register = guiCreateButton(-22, -6, 258, 155, "", false, GUIEditor.staticimage[8]) addEventHandler("onClientPlayerJoin", getRootElement(), function () guiSetVisible ( GUIEditor.staticimage[1], true ) end )
×
×
  • Create New...