Jump to content

Search the Community

Showing results for tags 'تصحيح'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 6 results

  1. مرحبا أريد كود انه المود كل 3 دقائق يسوي لفنسه ريسارت
  2. السلام عليكم ورحمة الله وبركاتة, ي شباب سويت كود ودمجته في مود البرايفت سستم حق جراند الكود عبارة لما اللاعب يرسل للاعب ثاني رساله يتحقق من الرتبه والداتا ويرسلها للكونسل لكن م اشتغل -1 م توصلني الرسايل غير الي انا ارسلها 2- الرساله الي انا ارسلها تتكرر عندي 4 مرات بسبب اللوب addEvent( 'onServerSendMessage', true ); addEventHandler( 'onServerSendMessage', root, function( plr, message ) triggerClientEvent( plr, 'onClientReceiveMessage', source, source, message ) for i,v in ipairs(getElementsByType("player")) do local acc = getPlayerAccount( v ) local accName = getAccountName ( acc ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "CHS" ) ) then if ( getElementData(source, "Chat") == true ) then outputChatBox("5A9: "..getPlayerName(source)..": "..message.." . To : "..getPlayerName(plr),source,255,0,0,true) end end end end ); هذا الكود شكرا
  3. السلام عليكم addEventHandler("onPlayerChat", root, function (text, msgtype) if ( string.find(text,"!") ) then local player = getPlayerFromName ( text ) setElementPosition ( player, posX, posY, posZ ) end end ) في هذا الكود ابي لو شخص كتب ! اسم لاعب وبعدان يجيب اسم الاعب ويحط الاعب ذا في مكان ارجو تصحيح الخطا
  4. السلام عليكم ورحمة الله .. انا مسوي لوحة تفتح ب الاسل هي شغاله و تمام , لاكن اذ سويت من نفس تصميم اللوحه لوحه ثانيه واضفت خاصيه جديده الاثنين م يشتغلوا و م عرفت لها اي حل -- Server addEvent( "Open:Window",true ) addEventHandler( "Open:Window",root, function ( ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Z12")) then triggerClientEvent( source,"Open2",source ) end end ) Vehicle = { } addEvent ( "Take:Vehicle", true) addEventHandler( "Take:Vehicle",root, function ( ) if Vehicle[source] and isElement ( Vehicle[source] ) then return outputChatBox ("* لأ يمكنك تنزيل مركبة أخري في وجود مركبة اولأ", source,255,0,0,true ) end x,y,z = getElementPosition ( source ) Vehicle[source] = createVehicle ( 585, x, y, z ) warpPedIntoVehicle ( source, Vehicle[source] ) outputChatBox( "* Done you give Car.",source,0,255,0,true) end ) addEvent ( "Destroy", true ) addEventHandler ( "Destroy", root, function ( ) if ( isElement( Vehicle[source] ) ) then destroyElement( Vehicle[source] ) outputChatBox( "* Done Destroy Car",source,0,255,0,true) else outputChatBox ("* ليس لديك مركبة", source,255,0,0,true ) end end ) addEvent ( "Fix", true ) addEventHandler ( "Fix", root, function ( ) if ( isElement( Vehicle[source] ) ) then fixVehicle ( Vehicle[source] ) outputChatBox( "* Done Fix car",source,0,255,0,true) else outputChatBox ("* ليس لديك مركبة", source,255,0,0,true ) end end ) addEvent ( "addNitro", true ) addEventHandler ( "addNitro", root, function ( ) if ( isElement( Vehicle[source] ) ) then addVehicleUpgrade ( Vehicle[source], 1010 ) outputChatBox( "* تم نيترو",source,0,255,0,true) else outputChatBox ("* ليس لديك مركبة", source,255,0,0,true ) end end ) الي يعرف يساعدني :] وشكرا ..
  5. سلام عليكم شباب وش الخطا هنا بالله addEventHandler( "onClientGUIDoubleClick", grid, doubleClickedName, false ) function doubleClickedName( ) local sel2 = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,se12,1)) setElementPosition(localPlayer,x,y,z) end يغلق تم حل المشكله والحل الصحيح هو function use() local row, col = guiGridListGetSelectedItem(grid) local x,y,z = unpack(guiGridListGetItemData(grid,row,1)) setElementPosition(localPlayer,x,y,z) end addEventHandler("onClientDoubleClick", root, use, false)
  6. شباب ممكن تقولولي وش الخطا هنا بالله سيرفر سايد addEvent ("Cl",true) addEventHandler ("Cl",root, function (name,mmnstry,ali12) if getPlayerMoney(client) >= 50000 then setElementData ( name, "teamowner", name ) kkte = createTeam ( mmnstry, ali12 ) setPlayerTeam(getPlayerFromName ( name ) , kkte) setTeamColor ( kkte, ali12 ) end end ) والحين نشوف الكلنت سايد addEventHandler ("onClientGUIClick",root, function () if ( source == buttoncreate ) then name = getPlayerName(localPlayer) mmnstry = guiGetText(teamnameedit) ali12 = guiGetText(teamcoloredit) triggerServerEvent ( "Cl", localPlayer, name,mmnstry,ali12) end end )
×
×
  • Create New...