Jump to content

</Mr.Tn6eL>

Members
  • Posts

    2,799
  • Joined

  • Days Won

    13

Everything posted by </Mr.Tn6eL>

  1. سويت موضوع مشابهه ومافيه تفاعل وفي ناس تضيفني سكايب وتقلي افكار
  2. هههههههه دعم فني فيها تمام ؟ لو تجدد يقعد اسبوع كامل او شهر عشان يجدد
  3. انا اقلك تحطها مجانية افضل عشان تصير افضل لوحة عربية
  4. مشكور لكن انا حطيت ردي فوق ان المشكلة انحلت
  5. يقدر بس خل البيد يتحرك بدال الاعب وخل الاعب مايتحرك يعني صار الاعب هو حصان
  6. نادر احد مايستخدم المتجر الحين كلهم تورنت افكر احول ل ويندوز 7 وش افضل نسخة لها ؟ Ultimate واذ تبي السيريال https://www.facebook.com/masterincomput ... 5738666245
  7. ماتفرق بين فنكشنات السيرفر والكلنت وعندك playervehicle حطه داخل الحدثonClientMarkerHit
  8. عرفت مشكلة من ويندوز 8.1 عملت فورمات وركبت 7 64 بت
  9. السلام عليكم ورحمة الله وبركاته اليوم فتحت اللعبة ولقيتها خربانة وهذي صورة للمشكلة كرت شاشة معرف و ثبت برنامج Microsoft Visual C++ 2008 نفس مشكلة وثبت DirectX ونفس مشكلة هذي معلومات نظام Time of this report: 3/28/2015, 19:38:03 Machine name: YOUSEF Operating System: Windows 8.1 Pro 64-bit (6.3, Build 9600) (9600.winblue_gdr.131030-1505) Language: Arabic (Regional Setting: Arabic) System Manufacturer: Gigabyte Technology Co., Ltd. System Model: EP31-DS3L BIOS: Award Modular BIOS v6.00PG Processor: Intel® Core2 Duo CPU E7300 @ 2.66GHz (2 CPUs), ~2.7GHz Memory: 4096MB RAM Available OS Memory: 3070MB RAM Page File: 2584MB used, 1766MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.03.9600.16384 64bit Unicode كرت شاشة Card name: NVIDIA GeForce 7300 SE/7200 GS Manufacturer: NVIDIA Chip type: GeForce 7300 SE/7200 GS DAC type: Integrated RAMDAC Device Type: Full Device Device Key: Enum\PCI\VEN_10DE&DEV_01D3&SUBSYS_227E1682&REV_A1 Display Memory: 1768 MB Dedicated Memory: 249 MB Shared Memory: 1519 MB Current Mode: 1024 x 768 (32 bit) (60Hz) Monitor Name: Generic Non-PnP Monitor Monitor Model: unknown
  10. -- MySQL Housesystem created & released by Noneatme(MuLTi), Do not remove credits! -- -- All Rights go to Noneatme -- --[[ Total time token: - 3 hour - 1.5 hour ________ 4.5 hours ]] ------------------------ -- CONNECTION HANDLER -- ------------------------ -- Here you can change some settings -- -- FIRST CONNECTION -- local mysqlhost1 = "localhost" local mysqluser1 = "root" local mysqlpassword1 = "" local mysqldatabase1 = "dbs_housesystem2" -- SECOND CONNECTION, OPTIONAL IF CONNECTION 1 DON'T WORK local mysqlhost2 = "localhost" local mysqluser2 = "root" local mysqlpassword2 = "" local mysqldatabase2 = "dbs_housesystem" local dbpTime = 500 -- How many Miliseconds will use the dbPoll function for waiting for a result local max_player_houses = 2 -- Define the buyable houses per player local sellhouse_value = 80 -- The ammount in percent that you get back if you sell a house local open_key = "F5" -- Define the key for the infomenue and the housepanel -- I don't know whats the right time for that -- ----------------------------------------------------------------- -- IF YOU CAN'T WRITE IN LUA, DO NOT EDIT ANYTHING ABOVE HERE! -- ----------------------------------------------------------------- -- EVENTS -- addEvent("onHouseSystemHouseCreate", true) addEvent("onHouseSystemHouseLock", true) addEvent("onHouseSystemHouseDeposit", true) addEvent("onHouseSystemHouseWithdraw", true) addEvent("onHouseSystemWeaponDeposit", true) addEvent("onHouseSystemWeaponWithdraw", true) addEvent("onHouseSystemRentableSwitch", true) addEvent("onHouseSystemRentalprice", true) addEvent("onHouseSystemTenandRemove", true) addEvent("onHouseSystemInfoBuy", true) addEvent("onHouseSystemInfoRent", true) addEvent("onHouseSystemInfoEnter", true) local handler -- local only, we don't need a global handler local saveableValues = { ["MONEY"] = "MONEY", ["WEAP1"] = "WEAP1", ["WEAP2"] = "WEAP2", ["WEAP3"] = "WEAP3", ["LOCKED"] = "LOCKED", ["OWNER"] = "OWNER", ["RENTABLE"] = "RENTABLE", ["RENTALPRICE"] = "RENTALPRICE", ["RENT1"] = "RENT1", ["RENT2"] = "RENT2", ["RENT3"] = "RENT3", ["RENT4"] = "RENT4", ["RENT5"] = "RENT5", } local created = false -- DONT EDIT local houseid = 0 -- Define the Houseid, local house = {} -- The House array local houseData = {} -- The House Data arry local houseInt = {} -- The House Interior array local houseIntData = {} -- The House Interior Data Array local buildStartTick local buildEndTick local rentTimer -- STARTUP EVENT HANDLER -- addEventHandler("onResourceStart", getResourceRootElement(), function() handler = dbConnect("sqlite", ".sql files/FOR EXISTING DATABASES/execute_this.sql") -- If the Handler 1 dont work if not(handler) then outputServerLog("[HOUSESYSTEM]MySQL handler 2 not accepted! Shutting down...") cancelEvent() else outputServerLog("[HOUSESYSTEM]MySQL handler 1 accepted!") housesys_startup() end end) -- SHUTDOWN EVENT HANDLER -- addEventHandler("onResourceStop", getResourceRootElement(), function() -- Free the arrays -- for index, houses in pairs(house) do houses = nil end for index, houseDatas in pairs(houseData) do houseDatas = nil end for index, houseInts in pairs(houseInt) do houseInts = nil end for index, houseIntDatas in pairs(houseIntData) do houseIntDatas = nil end houseid = 0 created = false end) -------------- -- COMMANDS -- -------------- -- /unrent -- addCommandHandler("unrent", function(thePlayer) if(getElementData(thePlayer, "house:lastvisit")) and (getElementData(thePlayer, "house:lastvisit") ~= false) then local id = tonumber(getElementData(thePlayer, "house:lastvisit")) if(isPlayerRentedHouse(thePlayer, id) == false) then outputChatBox("You are not tenad of this house!", thePlayer, 255, 0, 0) return end local sucess = removeHouseTenand(id, thePlayer) if(sucess == true) then outputChatBox("You have sucessfull terminate the tenancy!", thePlayer, 0, 255, 0) else outputChatBox("An error occurred!", thePlayer, 255, 0, 0) end end end) -- /rent -- addCommandHandler("rent", function(thePlayer) if(getElementData(thePlayer, "house:lastvisit")) and (getElementData(thePlayer, "house:lastvisit") ~= false) then local id = tonumber(getElementData(thePlayer, "house:lastvisit")) if(houseData[id]["OWNER"] == getPlayerName(thePlayer)) then outputChatBox("You can't rent here! It's your house!", thePlayer, 255, 0, 0) return end if(tonumber(houseData[id]["RENTABLE"]) ~= 1) then outputChatBox("This house is not rentable!", thePlayer, 255, 0, 0) return end if(getPlayerRentedHouse(thePlayer) ~= false) then outputChatBox("You are allready a tenand in a house! Use /unrent first.", thePlayer, 255, 0, 0) return end local sucess = addHouseTenand(thePlayer, id) if(sucess == true) then outputChatBox("You are now tenand this house!", thePlayer, 0, 255, 0) else outputChatBox("You can't rent this house!", thePlayer, 255, 0, 0) end end end) -- /createhouse -- addCommandHandler("createhouse", function(thePlayer) if(hasObjectPermissionTo ( thePlayer, "function.kickPlayer", false ) ) then if(getElementInterior(thePlayer) ~= 0) then outputChatBox("You are not outside!", thePlayer, 255, 0, 0) return end if(isPedInVehicle(thePlayer) == true) then outputChatBox("Please exit your vehicle.", thePlayer, 255, 0, 0) return end -- INSERT SECURITY OPTIONS LIKE ADMINLEVEL HERE( if(adminlevel > shit) then ...) triggerClientEvent(thePlayer, "onClientHouseSystemGUIStart", thePlayer) else outputChatBox("You are not an admin!", thePlayer, 255, 0, 0) end end) -- /in -- addCommandHandler("in", function(thePlayer) if(getElementData(thePlayer, "house:lastvisit")) and (getElementData(thePlayer, "house:lastvisit") ~= false) then local house = getElementData(thePlayer, "house:lastvisit") if(house) then local id = tonumber(house) if(tonumber(houseData[id]["LOCKED"]) == 0) or (houseData[id]["OWNER"] == getPlayerName(thePlayer)) or (isPlayerRentedHouse(thePlayer, id) == true) then local int, intx, inty, intz, dim = houseIntData[id]["INT"], houseIntData[id]["X"], houseIntData[id]["Y"], houseIntData[id]["Z"], id setElementData(thePlayer, "house:in", true) setInPosition(thePlayer, intx, inty, intz, int, false, dim) unbindKey(thePlayer, open_key, "down", togglePlayerInfomenue, id) setElementData(thePlayer, "house:lastvisitINT", id) if(houseData[id]["OWNER"] == getPlayerName(thePlayer)) or (isPlayerRentedHouse(thePlayer, id) == true) then bindKey(thePlayer, open_key, "down", togglePlayerHousemenue, id) end else outputChatBox("You don't have the housekey for this House!", thePlayer, 255, 0, 0) end end end end) -- /out -- addCommandHandler("out", function(thePlayer) if(getElementData(thePlayer, "house:lastvisitINT")) and (getElementData(thePlayer, "house:lastvisitINT") ~= false) then local house = getElementData(thePlayer, "house:lastvisitINT") if(house) then local id = tonumber(house) local x, y, z = houseData[id]["X"], houseData[id]["Y"], houseData[id]["Z"] setElementData(thePlayer, "house:in", false) setInPosition(thePlayer, x, y, z, 0, false, 0) end end end) -- /buyhouse -- addCommandHandler("buyhouse", function(thePlayer) if(getElementData(thePlayer, "house:lastvisit")) and (getElementData(thePlayer, "house:lastvisit") ~= false) then local house = getElementData(thePlayer, "house:lastvisit") if(house) then local id = house local owner = houseData[id]["OWNER"] if(owner ~= "no-one") then outputChatBox("You can't buy this house!", thePlayer, 255, 0, 0) else local houses = 0 for index, col in pairs(getElementsByType("colshape")) do if(getElementData(col, "house") == true) and (houseData[getElementData(col, "ID")]["OWNER"] == getPlayerName(thePlayer)) then houses = houses+1 if(houses == max_player_houses) then outputChatBox("You have allready "..max_player_houses.." houses! Sell a house to buy this one.", thePlayer, 255, 0, 0) return end end end local money = getPlayerMoney(thePlayer) local price = houseData[id]["PRICE"] if(money < price) then outputChatBox("You have not enought money! You need "..(price-money).."$ more!", thePlayer, 255, 0, 0) return end setHouseData(id, "OWNER",
  11. وين الغلط سطر 14
  12. تم رفعه تفضل - http://www.up-00.com/?nfRq معليش نسيت اقلك ابي رابطه من المكان اللي حملته عشان اشوف معلومات اكثر عن المود واكمله لك + يلا اشوفك لما اصحي
  13. عدلت لك الكود خليته على sqlite بس فيه مشكلة ماعرفت اسماء الكولمن column الخاصة بقاعدة البيانات عشان كذا مقدر اكملة لو تقدر تحط رابط السكربت عشان اشوف
  14. حط ملف السيرفر الخاص بمود البيوت
  15. والله مني فاهم وضح الطلب لأن في نوعين من قواعد البيانات sqlite mysql الموجود عندك mysql على السيرفر المحلي روح حمل السيرفر المحلي وادخل الphpmyadmin وسوي القاعدة البيانات
  16. وين خطأ setPedArmor -- لونه برتقالي يعني سيرفر setElementHealth -- يعطي دم وهمي بالكلنت + يقول الويكي : + نوعين من اقواس الاغلاق ليس لديهم قوس الفتح + كودي فوق يكفي
  17. اللعبة صارت خايسة الحين كل مايههم اللاعب عند تحميل اللعبة * الادمنية * فتح سيرفر * تركيب مودات * برمجة * تصميم مابات * طقطقة وفلة * صنع مشكلات باللعبة etc...
  18. بالتوفيق + أفضل لك تحط صور عشان يشوفون حلو ولا لا
  19. ممتاز الى الافضل ولك التوفيق بإذن الله
  20. حمل مود تزوير اللي فوق وحط بملف client.lua هذا السطر button = guiCreateButton(...) addEventHandler("onClientGUIClick", resourceRoot, function( ) if source == button then setPlayerFlying(localPlayer, not isPlayerFlying(localPlayer)) end end) حطه تحت أكواد المود يعني بآخر سطر عشان ماتصير لخبطة + كمل ارقنت الزر بأول سطر
  21. تقدر مثلا تبي تحدد واحد بالقريد ليست وتخلي سرعة الاعب عنده على كيفك تستخدم triggerServerEvent -- ترايقر للسيرفر على اللوكل بلاير getPlayerFromName -- نجيب الاعب من اسمه اللي في القريد ليست triggerClientEvent -- ترايقر للاعب اللي في القريد ليست setGameSpeed -- تغير السرعة
  22. health = guiCreateButton(...) armor = guiCreateButton(...) addEventHandler("onClientGUIClick", resourceRoot, function( ) if source == health or source == armor then local getClick = source == health and "setElementHealth" or "setPedArmor" triggerServerEvent("onPlayerGiveArmorOrHealth", localPlayer, getClick) end end) اول سطرين هم الازرار + لاتنسى تحط السيرفر اللي فوق بالرد حقي
  23. ناقصك فنكشنات كثير + setPlayerFlying فنكشن غير موجود عاد هذي الفنكشنات اللي اعرفها عندك غيرها اطرحها لا عاد الشغلة اللي اعرف احط بكيفك هي مو مجبور تساعد شي ماتعرفه
×
×
  • Create New...