Jump to content

Ja[B]er[X]Pro

Members
  • Posts

    779
  • Joined

  • Last visited

Everything posted by Ja[B]er[X]Pro

  1. نصيحة سوي فكرة هجوم العمالقة اجمل وافضل وانا بشارك موفق
  2. اين الخطأ؟؟ لما افتح اللوحة الاشياء المقفلة ما تفتح ومتأكد ان معي الرتبة bindKey ( "J", "down", function ( ) if isPlayerGroupName("Support") or isPlayerGroupName("Support staff") or isPlayerGroupName("Console") then guiSetVisible (supportsystem,true) showCursor(guiGetVisible(supportsystem)) guiSetEnabled(aMessagesForm,true) guiSetEnabled(aStaff,true) guiSetInputEnabled(true) elseif isPlayerGroupName("lvl1") or isPlayerGroupName("lvl2") or isPlayerGroupName("lvl3") or isPlayerGroupName("lvl4") or isPlayerGroupName("lvl5") or isPlayerGroupName("lvl6") then guiSetVisible(supportsystem,true) showCursor(guiGetVisible(supportsystem)) guiSetEnabled(aStaff,true) guiSetInputEnabled(true) else guiSetVisible (supportsystem,true) showCursor (guiGetVisible (supportsystem)) guiSetInputEnabled(true) end end)
  3. سكربت اكثر من رائع بالتوفيق لكن اللوحة تحتاج التنسيق فكرة جميلة جداً بالتوفيق
  4. كفو سكربت رائع من شخص اروع واصل يا بطل بالتوفيق
  5. مود جميل جداً واصل يا بطل
  6. ببداية الموضوع ما لقيت فكرة المهمة ممكن تقولها لي؟؟ لكن واضح بانها فكرة جميلة بالتوفيق
  7. سكربت رائع واصل يا بطل بالتوفيق ______________________ لو تضيف انك تقدر تقفل التيم من ان شخص يدخل له وتضيف ايضاً تقدر تختار اقصى حد من الاشخاص يقدرو يدخلون للتيم
  8. +1 كفووو سكربت اكثر من رائع واصل يا بطل فكرة جميلة مثل صاحبها
  9. يوم اضغط اف5 ما تفتح اللوحة يجني خطأ في سطر 308 وهو السطر رقم 3 بين الاكواد دي bindKey("F5","down",function() local xple = getElementData(localPlayer,"xple") if xple >= 50 and xple < 150 then guiSetText(GUIEditor.label[15],"Current Rank : Level 1") guiSetText(GUIEditor.label[35],"Next Rank : Level 2") guiSetVisible(GUIEditor.label[45],"Points Required : 150") elseif xple >= 150 and xple < 400 then guiSetText(GUIEditor.label[15],"Current Rank : Level 2") guiSetText(GUIEditor.label[35],"Next Rank : Level 3") guiSetVisible(GUIEditor.label[45],"Points Required : 400") elseif xple >= 400 and xple < 750 then guiSetText(GUIEditor.label[15],"Current Rank : Level 3") guiSetText(GUIEditor.label[35],"Next Rank : Level 4") guiSetVisible(GUIEditor.label[45],"Points Required : 750") elseif xple >= 750 and xple < 12000 then guiSetText(GUIEditor.label[15],"Current Rank : Level 4") guiSetText(GUIEditor.label[35],"Next Rank : Level 5") guiSetVisible(GUIEditor.label[45],"Points Required : 1200") elseif xple >= 1200 and xple < 1800 then guiSetText(GUIEditor.label[1],"Current Rank : Level 5") guiSetText(GUIEditor.label[35],"Next Rank : Level 6") guiSetVisible(GUIEditor.label[45],"Points Required : 1800") elseif xple >= 1800 and xple < 2250 then guiSetText(GUIEditor.label[15],"Current Rank : Level 6") guiSetText(GUIEditor.label[35],"Next Rank : Level 7") guiSetVisible(GUIEditor.label[45],"Points Required : 2250") elseif xple >= 2250 and xple < 2800 then guiSetText(GUIEditor.label[15],"Current Rank : Level 7") guiSetText(GUIEditor.label[35],"Next Rank : Level 8") guiSetVisible(GUIEditor.label[45],"Points Required : 2800") elseif xple >= 2800 and xple < 3350 then guiSetText(GUIEditor.label[15],"Current Rank : Level 8") guiSetText(GUIEditor.label[35],"Next Rank : Level 9") guiSetVisible(GUIEditor.label[45],"Points Required : 3350") elseif xple >= 3350 and xple < 4000 then guiSetText(GUIEditor.label[15],"Current Rank : Level 9") guiSetText(GUIEditor.label[35],"Next Rank : Level 10") guiSetVisible(GUIEditor.label[45],"Points Required : 4000") elseif xple >= 4000 then guiSetText(GUIEditor.label[15],"Current Rank : Level 10") guiSetText(GUIEditor.label[35],"Next Rank : Maximum") guiSetVisible(GUIEditor.label[45],"Points Required : Maxium") elseif xple < 40 then guiSetText(GUIEditor.label[15],"Current Rank : No") guiSetText(GUIEditor.label[35],"Next Rank : Level 1") guiSetVisible(GUIEditor.label[45],"Points Required : 40") end guiSetText(GUIEditor.label[25],"Current Points : "..xple) guiSetVisible(GUIEditor.window[112],not guiGetVisible(GUIEditor.window[112])) showCursor( guiGetVisible(GUIEditor.window[112]) ) end)
  10. فكرة صغيرة جداً تضيفها لمود البنك وهي تجعل البنوك في السيرفر اكثر استخداماً تضع خاصية للبنك مثل البنوك الواقعية كل مدة من الزمن تزيد الفلوس التي بالبنك
  11. القوس موجود لكن وانا اسوي الرد مسحته بالخطأ من هنا فقط
  12. --client addEventHandler("onClientRendar",root,function() triggerServerEvent("ip",localPlayer) end) addEvent("ip2",true) addEventHandler("ip2",root,function(IP) guiSetText(GUIEditor_Label[16]," "..IP) end) --server addEvent("ip",true) addEventHandler("ip",root,function() local IP = getPlayerIP(source) triggerClientEvent("ip2",source,IP) end)
  13. لدي فكرة مهمة جديدة وهي مهمة التعاون عند بداية المهمة ودخول الاعبين يتم حساب عدد الاعبين وتقسيمهم كل لاعبين بفريق وان كان العدد فردي مثل 5 , 7 , 9......الخ تسوي ماتش راندوم على الاعبين والذي تيجي عليه يتم اخراجه من المسابقة حتى يصير العدد متساوي يتم وضع شخص من كل فريق من الفرقاء على خط البداية ويكون عليه اتاش ألمنت ابجكت عصا بعدها يبدأ السباق بعد تنازلي من 3 وعند البدأ ينطلق شخص من كل فريق والشخص الاخر يبقى ينتظره بنصف الملعب ويكون امام المتسابقين عوائق وحواجز وعند الوصول إلى نصف الملعب تجد الاعب الثاني من فريقك ويكون عليه ماركر مخفي يوم تملس الماركر تخرج انت خارج الحلبة للتشجيع وينطلق صديقك يجري مكانك ويلتصق به ابجكت العصا مكانك والفريق الفائز هو الذي يصل لخط النهاية بالبداية _________________________________________________________ الفكرة ماخوذة من سباقات الجري التي شخص يجري بعصا ويعطيها لشخص اخر يكمل الجري
  14. جرب addEventHandler("onPlayerChat", root, playerChat) addEvent("onPlayeropenChat",true) addEventHandler("onPlayeropenChat",root,function () removeElementData(resourceRoot,"chat") end) addEvent("onPlayerCloseChat",true) addEventHandler("onPlayerCloseChat",root,function () setElementData (resourceRoot, "chat",true) end) ------ addEventHandler("onPlayerChat",root, function( text, type) if getElementData(source,"Data_Tag") then return end if type == 1 or type == 2 then return end if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) return outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) else end if getElementData ( resourceRoot, "chat" ) == true then cancelEvent() return outputChatBox ("[C.Console]: Chat has been locked by Console ",source,255,0,0,true) end if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#0099DC* [ Lv.1 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 2")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#2554C7* [ Lv.2 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 3")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#00cc11* [ Lv.3 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 4")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007700* [ Lv.4 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 5")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cc0000* [ Lv.5 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Level 6")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Lv.6 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Head.Admin")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#C11B17* [ Head.Admin ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("V.I.P")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#DCD800* [ VIP ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SaedAmer")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cd0000* [ VIP ]#ffff00 سعيد : #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("mosp")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#02AB2F* [ AL-MLOok Event's] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Manager")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#347235* [ T-Developer ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin - Ex")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#777777* [ Admin - EX ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007F7F* [ Soldier ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#5494A7* [ AL-MLOoK ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end )
  15. يب مشكور جبت لك جميع ايدي الشخصيات 12 , 13 , 40 , 41 , 55 ,56 , 63 , 64 , 69 , 75 ,76 , 77 , 85 ,87 , 88 , 89 , 90 , 91 , 92 , 93 129 , 130 , 131 , 132 , 138 , 139 , 140 , 141 , 145 , 148 , 150 , 151 , 152 , 157 , 169 , 172 178 , 190 , 192 , 193 , 194 , 195 , 196 , 197 , 198 , 199 , 201 , 205 , 207 , 211 , 214 , 215 216 , 218 , 219 , 224 , 225 , 226 , 231 , 232 , 233 , 237 , 238 , 243 , 244 , 245 , 246 , 251 256 , 257 , 263 تفضل تقدر تمسحهم
  16. بمسحهم لك تبي امسح شخصيات نساء العجائز ايضاً؟؟ :V
  17. بعطيك اقتراح سوي لما يشتري تاج من مود يعطيه داتا وسوي بمود التاجات لما شخص يكتب شيئ بالشات ان كان يملك الداتا يكنسل الايفينت فقط ان ما عرفت ضع اكواد مود التاج ومود شراء تاج
  18. معي لوحة سيارات ابي اسوي من مود اخر اقدر اضيف سيارة لمود اللوحة كيف؟ كود اضافة سيارة للجريد ليست بلوحة السيارات عن الشراء من متجر المود نفسه addEvent("onBuyNewVehicle", true) addEventHandler("onBuyNewVehicle", root, function(Model, cost, r1, g1, b1, r2, g2, b2) abc = false local data = dbPoll(dbQuery(db, "SELECT * FROM VehicleList WHERE Account = ?", getAccountName(getPlayerAccount(source))), -1) for i, data in ipairs (data) do if data["Model"] == Model then abc = true break end end if #data >= 5 then exports["guimessages"]:outputServer(source,"[Vehicle System] #FF0000Sorry, but Max vehicles is 5 only.", 255, 85, 0, true) return end if abc then exports["guimessages"]:outputServer(source,"[Vehicle System] #FF0000You already bought this vehicle before.", 255, 85, 0, true) return end if (getElementData(source, "Money") or 0) >= tonumber(cost) then setElementData(source, "Money", getElementData(source, "Money") - cost) local x, y, z = getElementPosition(source) local _, _, rz = getElementRotation(source) local color = r1..","..g1..","..b1..","..r2..","..g2..","..b2 vehicle = createVehicle(Model, x-5, y+5, z, 0, 0, rz) setVehicleColor(vehicle, r1, g1, b1, r2, g2, b2) setElementData(vehicle, "Owner", source) local NewID = getFreeID() setElementData(vehicle, "ID", NewID) dbExec(db, "INSERT INTO VehicleList VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", NewID, getAccountName(getPlayerAccount(source)), Model, x-5, y+5, z, rz, color, "", 3, cost, 1000) exports["guimessages"]:outputServer(source,"[Vehicle System] #FFFF00You Bought: #00FFFF"..getVehicleNameFromModel(Model), 255, 85, 0, true) exports["guimessages"]:outputServer(source,"[Vehicle System] #FFFF00Cost: #00FF00$"..cost, 255, 85, 0, true) updateVehicleInfo(source) vv[vehicle] = setTimer(function(source) if not isElement(source) then killTimer(vv[source]) vv[source] = nil end if isElement(source) and getElementHealth(source) <= 255 then setElementHealth(source, 255.5) setVehicleDamageProof(source, true) setVehicleEngineState(source, false) end end, 50, 0, vehicle) addEventHandler("onVehicleDamage", vehicle, function(loss) local account = getAccountName(getPlayerAccount(getElementData(source, "Owner"))) setTimer(function(source) if isElement(source) then dbExec(db, "UPDATE VehicleList SET HP = ? WHERE Account = ? AND Model = ?", getElementHealth(source), account, getElementModel(source)) updateVehicleInfo(getElementData(source, "Owner")) end end, 100, 1, source) end) addEventHandler("onVehicleEnter", vehicle, function(player) if getElementHealth(source) <= 255.5 then setVehicleEngineState(source, false) else if isVehicleDamageProof(source) then setVehicleDamageProof(source, false) end end end) else exports["guimessages"]:outputServer(source,"[Vehicle System] #FF0000You don't have enough money.", 255, 85, 0, true) end end) ++++++++++ وش الخطأ هنا اكتب الكلمة ما يصير شيئ addCommandHandler("swood",function(amount) if type(amount) == "number" then if getElementData(localPlayer,"wood") >= amount then local money = tonumber(amount)*35 setElementData(localPlayer,"Money",getElementData(localPlayer,"Money") + money) setElementData(localPlayer,"wood",getElementData(localPlayer,"wood") - amount) outputChatBox("تم البيع بنجاح",0,255,0) else outputChatBox("انت لا تملك عدد كافي من الخشب",255,0,0) end end end والدي بق ما يجيب شيئ
×
×
  • Create New...