Jump to content

Mr-M3AND

Members
  • Posts

    312
  • Joined

  • Last visited

Everything posted by Mr-M3AND

  1. ترا اللي حطيته فنكشنات مو الكود كامل وهنا لازم تسوي داتا للسيارة عشان تتحقق اذا في سيارة تسحبها وتطلع سيارة غيرها
  2. بالتوفيق اخوي برستيج , ونحنٌ في انتظارك
  3. triggerServerEvent createVehicle getElementPosition warpPedIntoVehicle setElementData getElementData destroyElement onVehicleExplode
  4. جرب هذي الطريقة addEventHandler ( "onClientGUIClick",root, function () if (source == Grid) then local row,col = guiGridListGetSelectedItem(Grid) if (row and col and row ~= -1 and col ~= -1 ) then local text = guiGridListGetItemText (Grid,guiGridListGetSelectedItem(Grid)) if text == 'Police Car' then guiSetText ( Label,"معلومات سيارة الشرطة" ) elseif text == 'Medic Car' then guiSetText ( Label,"معلومات سيارة الاسعاف" ) end end end end )
  5. guiGridListGetItemText guiGridListGetSelectedItem guiSetText -- for Label
  6. createBlipAttachedTo ( Objects, Blip ) -- ( رقم العلامة, اسم الاوبجكت )
  7. سكربت اكثر من رائع, اســتـمـر
  8. جرب اذا مااشتغل اعتقد المشكلة من عندك function giveweapon () setTimer(giveWeapon,100,1,source, 31, 200 ,true) end addEventHandler( "onPlayerSpawn", root, giveweapon ) addEventHandler( "onPlayerJoin", root, giveweapon )
  9. function giveweapon() giveWeapon( source, 31, 200 ) --- اي دي السلاح end addEventHandler( "onPlayerSpawn", root, giveweapon ) addEventHandler( "onPlayerJoin", root, giveweapon )
  10. جرب group = "group name" addEventHandler ("onPlayerLogin", root, function (thePreviousAccount, theCurrentAccount, autoLogin) if not (isGuestAccount (getPlayerAccount (source))) then local accountData = getAccountData (theCurrentAccount, "count") if (accountData) then setElementData (source, "count", getAccountData (theCurrentAccount, "count")) outputChatBox ("You have [" .. getAccountData (theCurrentAccount, "count") .. "] of point.", source, 255, 255, 0) end end end) addEventHandler("onPlayerWasted",root, function(totalAmmo, killer, killerweapon, bodypart) if killer and killerweapon == 31 then if not (getElementData (killer, "count")) then setElementData (killer, "count", 0) end setElementData (killer, "count", getElementData (killer, "count") + 1) outputChatBox ("You got 1 point now you have [" .. getElementData (killer, "count") .. "] of point.", killer, 0, 255, 0) if getElementData (killer, "count") == 50 then outputChatBox ("Congratulation you have a 50 point and you got a " .. group .. ".", killer, 0, 255, 0) local account = getAccountName(getPlayerAccount(killer)) aclGroupAddObject (aclGetGroup(group),"user."..account) end end end) addEventHandler ("onPlayerQuit", root, function (quitType, reason, responsibleElement) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then setAccountData (account, "count", getElementData (source, "count")) end end end)
  11. اتمنى لك التوفيق اخوي طلال
  12. الله يعافيك..
  13. ^ انسخه مره ثانية وجربه
  14. اطرح كود الصوره بدون اي تعديل
  15. جرب createColCuboid (-1527.01794, 260.28036, 0.16719, 260, 260,70)
  16. شوف تزبط ولا لا local sx, sy = guiGetScreenSize ( ) Win = guiCreateStaticImage( sx*(692/1024), sy*(0/768),130,600,"images/bg.png",false)
  17. جربه createColCuboid (-1527.01794, 260.28036, 5.36719, 260, 260 ,40)
  18. debugscript 3 ? ما يحسب ابد و حتى انت يا بو شنب ما يحسب تكفون سأأعدوني مثل ماقالك زاحف اكتب باف8 debugscript 3 وشوف وش يطلع لك
×
×
  • Create New...