Jump to content

./BlackBird#

Members
  • Posts

    1,355
  • Joined

  • Last visited

Everything posted by ./BlackBird#

  1. اعلن خروجي من الكلان بـ التوفيق لهم
  2. L = شات اللغات القيم مود طفيناه عشان نصلح الاخطاء و نضيف الي ناقص
  3. يعجبني تصميمكم بس حبيت تركز على الاشياء الصغيره حتى لو مو مهمه يعني في بعض السيارات مكتوب الاسم مو على القزاز مكتوب قدامه و تسوي لو داخليه بسيطه
  4. تقصد الكاونت داون؟ لان اول ما ركبته طلع ذا البق تكرار بس بعدها بشوي صلحته
  5. يب اكتب بالبحث -TfB او خش من هنا mtasa://213.136.79.249:22003
  6. طيب انا لو اخش تدخلوني ؟ يب بس الحين خلص التيست انت خلك متواجد و راح تعرف متى يكون المره الجايه
  7. انا عارف وش ذا بس ماني قايل اننن ;p انا مثلك =)
  8. i think it's better to use getAccounts instead of getElementsByType
  9. غريبة متاكد اني شايفه كود 1
  10. addEvent("ib",true) addEventHandler("ib",root, function () marker1 = createMarker(...) addEventHandler( "onMarkerHit", marker1,onHit) end ) function onHit() if getElementType(source) == "player" then warpPedIntoVehicle ( source, Vehicle) end end
  11. addCommandHandler("getposit", function () --getPositionFromElementOffset = exports.functions:getPositionFromElementOffset local theVehicle = getPedOccupiedVehicle(getLocalPlayer()) local vx,vy,vz = getElementPosition( theVehicle ) local cx,cy,cz = getVehicleComponentPosition( theVehicle, 'bump_rear_dummy' ) local vfx,vfy,vfz = getElementRotation( theVehicle ) local result = 'vx = '..vx..' vy = '..vy..' vz = '..vz outputDebugString( result ) result = 'cx = '..cx..' cy = '..cy..' cz = '..cz outputDebugString( result ) result = 'vfx = '..vfx..' vfy = '..vfy..' vfz = '..vfz outputDebugString( result ) local col = createColSphere( vx,vy,vz, 1 ) attachElements(col,theVehicle,cx,cy,cz) end )
  12. top10window = guiCreateWindow( 0.20, 0.20, 0.61, 0.58, "money kills players", true ) guiSetVisible(top10window, false ) guiWindowSetSizable( top10window, false ) guiSetProperty( top10window, "CaptionColour", "FF737373" ) guiSetAlpha( top10window, 0.65 ) top10gridlist = guiCreateGridList( 0.015, 0.06, 0.97, 0.82, true, top10window ) top10button = guiCreateButton( 0.015, 0.90, 0.97, 0.08, "Close", true, top10window ) guiSetFont( top10button, "default-bold-small" ) guiSetFont( top10gridlist, "default-bold-small" ) top10column1 = guiGridListAddColumn( top10gridlist, "Player", 0.4 ) top10column2 = guiGridListAddColumn( top10gridlist, "Kills", 0.15 ) top10column3 = guiGridListAddColumn( top10gridlist, "Money", 0.15 ) --CLIENT function top(data) for i,theKey in pairs(data) do local row = guiGridListAddRow(top10gridlist) guiGridListSetItemText(top10gridlist, row, top10column1, theKey[i][1], false, false ) guiGridListSetItemText(top10gridlist, row, top10column2, theKey[i][2], false, false ) guiGridListSetItemText(top10gridlist, row, top10column3, theKey[i][3], false, false ) end guiSetVisible(top10window, true ) addEventHandler( 'onClientGUIClick', top10button, closeBtnTop10, false ) end addEvent( "top", true ) addEventHandler( "top", root, top ) --SERVER function top(thePlayer, commandName) local accountTable = getAccounts( ) local data = { } for i,account in pairs(accountTable) do accountname = getAccountName(account) money = getAccountData(account,"money") or 0 kills = getAccountData(account,"kills") or 0 table.insert(data, {accountname,money,kills}) end triggerClientEvent ( thePlayer, "top", data ) end addCommandHandler( 'top', top )
  13. addCommandHandler("getposit", function () --getPositionFromElementOffset = exports.functions:getPositionFromElementOffset local theVehicle = getPedOccupiedVehicle(getLocalPlayer()) local vx,vy,vz = getElementPosition( theVehicle ) local cx,cy,cz = getVehicleComponentPosition( theVehicle, 'bump_rear_dummy' ) local vfx,vfy,vfz = getElementRotation( theVehicle ) local result = 'vx = '..vx..' vy = '..vy..' vz = '..vz outputDebugString( result ) result = 'cx = '..cx..' cy = '..cy..' cz = '..cz outputDebugString( result ) result = 'vfx = '..vfx..' vfy = '..vfy..' vfz = '..vfz outputDebugString( result ) local zx, zy, zz = vx+cx,vy+cy,vz+cz --local zx, zy, zz = call( getResourceFromName( 'functions' ), 'getPositionFromElementOffset', theVehicle, 0, 4, 0 ) createColSphere( zx, zy, zz, 1 ) end )
  14. لولا الله ثم لولاي ما كان خذا الاشراف الحين =) تستحق ي ماجد
  15. http://linux.multitheftauto.com/dl/140/multithef ... 4.0.tar.gz
  16. https://wiki.multitheftauto.com/wiki/Resource:TextSpeech https://community.multitheftauto.com/index.php?p= ... ls&id=3035
×
×
  • Create New...