Jump to content

1337.Ibrahim

Members
  • Posts

    469
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by 1337.Ibrahim

  1. لا سيرفر
  2. طيب الحين كيف اخلي الكاميرا تتحرك من البيد اذا تحرك
  3. @iMr.WiFi..! مايراقب + ما يطلع شيء في الدي بق
  4. استعملت وطرحت لك اكوادي فوق
  5. الله يجزاك خير بس ابي الكاميرا تتحرك مع البيد كيف
  6. @Abdul KariM مساعدة
  7. مساعدة يا اخوان
  8. @coNolel يعطيك العافية
  9. function getPositionFromElementOffset(element,offX,offY,offZ) local m = getElementMatrix ( element ) -- Get the matrix local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] -- Apply transform local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z -- Return the transformed point end addEvent ("spec", true) addEventHandler ("spec", root, function() x,y,z = getPositionFromElementOffset(Talis [ source ],3,0,0) x1,y1,z1 = getElementPosition(Talis [ source ]) setCameraMatrix(Talis [ source ],x,y,z,x1,y1,z1) end) مايراقب , حطيته كذا تمام ؟
  10. [09:30:07] WARNING: theped\server.lua:38: Bad argument @ 'setCameraMatrix' [Expec ted element at argument 1, got number '2051.9418945313']
  11. Talis = {} addEvent ("ped", true) addEventHandler ("ped", root, function (ID,x,y,z,text) if isElement ( Talis [ source ] ) then destroyElement ( Talis [ source ] ) Talis [ source ] = nil end setElementData ( source,'PedBefore',true ) Talis [ source ] = createPed ( tonumber(ID),x,y+2,z ) getPedRotation (Talis [ source ]) triggerClientEvent ( client,'ped', Talis[ source ] ) setElementData ( Talis [ source ],'inf',Talis ) local vehicle = getPedOccupiedVehicle ( source ) if vehicle then warpPedIntoVehicle ( Talis [ source ], vehicle, 1 ) end end )
  12. السلام عليكم وش المشكلة هنا ما يحط الكاميرا على البيد addEventHandler ( "onClientGUIClick", root, function ( ) if source == spectate then triggerServerEvent('spec',localPlayer) end end) addEvent ("spec", true) addEventHandler ("spec", root, function() if Talis [ source ] and isElement ( Talis [ source ] ) then setCameraTarget( Talis [ source ]) end end)
  13. https://e.top4top.net/m_566n72h10.mov
  14. اطرح الميتا ؟
  15. اعذرني بس ماحد فاضي لك يسوي لك الكود كامل اغلب اكوادك فيها اخطاء راجعها debugscript 3
  16. انت حاط localPlayer يعني لحالك
  17. GUIEditor = { button = {}, window = {}, staticimage = {} } GUIEditor.window[1] = guiCreateWindow(109, 38, 568, 512, "Wepson Shop | HarD | V.1", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.72) guiSetVisible(GUIEditor.window[1],false) GUIEditor.staticimage[1] = guiCreateStaticImage(10, 19, 548, 483, ":Weapson-ShopV1/images/1.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(10, 10, 91, 89, ":Weapson-ShopV1/images/16.png", false, GUIEditor.staticimage[1]) GUIEditor.button[1] = guiCreateButton(7, 109, 94, 45, "500000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE10000") GUIEditor.staticimage[3] = guiCreateStaticImage(217, 10, 107, 89, ":Weapson-ShopV1/images/22.png", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(217, 109, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFE10000") GUIEditor.staticimage[4] = guiCreateStaticImage(435, 11, 93, 88, ":Weapson-ShopV1/images/23.png", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(431, 109, 97, 45, "1000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFE10000") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 170, 92, 88, ":Weapson-ShopV1/images/25.png", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(8, 268, 94, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFE10000") GUIEditor.staticimage[6] = guiCreateStaticImage(212, 170, 102, 88, ":Weapson-ShopV1/images/26.png", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(212, 268, 102, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFE10000") GUIEditor.staticimage[7] = guiCreateStaticImage(425, 170, 102, 91, ":Weapson-ShopV1/images/28.png", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(425, 268, 102, 45, "5000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFE10000") GUIEditor.staticimage[8] = guiCreateStaticImage(8, 323, 93, 94, ":Weapson-ShopV1/images/29.png", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(7, 428, 94, 45, "30000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFE10000") GUIEditor.staticimage[9] = guiCreateStaticImage(211, 329, 103, 93, ":Weapson-ShopV1/images/31.png", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(211, 428, 102, 45, "40000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[8], "default-bold-small") guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFE10000") GUIEditor.staticimage[10] = guiCreateStaticImage(420, 331, 107, 91, ":Weapson-ShopV1/images/32.png", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(420, 428, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[9], "default-bold-small") guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFE10000") function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("/", "down", OpenWin) addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('giveWeapon_', localPlayer , 50000 , 16, 3 , "Grenade " ) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 22, 99999 , "Colt 45" ) elseif ( source == GUIEditor.button[4] ) then triggerServerEvent('giveWeapon_', localPlayer , 25000 , 27, 99999 , "Combat SG" ) elseif ( source == GUIEditor.button[5] ) then triggerServerEvent('giveWeapon_', localPlayer , 25000 , 26, 9999 , "Sawed-off" ) elseif ( source == GUIEditor.button[6] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 32, 9999 , "Tec-9" ) elseif ( source == GUIEditor.button[7] ) then triggerServerEvent('giveWeapon_', localPlayer , 30000 , 27, 9999 , "MP5" ) elseif ( source == GUIEditor.button[8] ) then triggerServerEvent('giveWeapon_', localPlayer , 40000 , 31, 9999 , "M4") elseif ( source == GUIEditor.button[9] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 28, 9999 , "Uzi") elseif ( source == GUIEditor.button[3] ) then setElementAlpha ( localPlayer , 0 ) end end ) ;
  18. guiSetVisible -- false ^ اذا تبي اللوحة ماتطلع بوجهك
  19. اووه والله تو الاحظ الله يسعدكم مشكورين
  20. givePlayerMoney(Winner,math.random("50000","300000")) اعذروني بس وش المشكلة هنا
  21. الله يعطيكم الف عافية مشكورين :]
  22. 22:15:55] SCRIPT ERROR: mission\server.lua:92: ')' expected near ','
  23. سويت يحط رقم قبل اسم اللاعب لاكن محاولاتي باتت بالفشل plrsz = getPlayersInMission ( ) for i = 1, #plrsz do exports["dxmessages"]:outputDx ( plr, ["..i.."](getPlayerName ( plrsz [ i ] ), "info" ))
  24. removeCommandHandler
  25. اتوقع ان المشاركات ماتنحسب هنا
×
×
  • Create New...