Jump to content

justboy

Members
  • Posts

    452
  • Joined

  • Last visited

Everything posted by justboy

  1. Marker = {} addCommandHandler('Co', function(p) local num = #Marker >= 6 and {1,true} or {(#Marker +1 ),false} outputChatBox(tostring(num[1])) local pos = {getElementPosition(p)} if num[2] == true then destroyElement(Marker[1]) end Marker[num[1]] = createMarker(unpack(pos)) end ) addCommandHandler('count', function() local msg = #Marker == 0 and 'لايوجد ماركرات' or 'عدد الماركرات : - '..tostring(#Marker) outputChatBox(msg) end )
  2. هههههههههههههههههههههههههههههههههههههه لليه قالولك احنا ايرورات ( جمع ايرور ) عشان ننخدع بهذه الطريقة ههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
  3. هههه يعطيك العافية على الاهداء هههه سعد فار تجارب
  4. سيرفر : - كلينت : - هذا مثال أتمنى تكون فهمت منه
  5. لو حطيت false كل الازرار اللوحات الصورة إلخ .. الgui تجي فوق الdx اما لو true تجي تحت حط كل false حق dx في اللمود حقك true
  6. انا مو فاهم ايش سويت عشان اقلك الطريقة
  7. addEventHandler("onPlayerWasted",root,function() setTimer(function(source) spawnPlayer(source,874.10486,-2187.34985,13.85282,0,getElementModel(source)) end,1000,1,source) end)
  8. addEventHandler("onClientMarkerHit",markerweapon,function(player) if player == localPlayer then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end) وفي حدث الضغط على الازرار تأكد ان الزر اللي انضغط هو السورس addEventHandler("onClientGUIClick",root,function() if (source == GUIEditor.button[3]) then triggerServerEvent("mp5",localPlayer) end end) + تحقق انه مافي غلط في السيرفر مخرب الملف بالكامل
  9. https://www.facebook.com/ksabc/videos/1 ... permPage=1
  10. الكلام يظهر مرتين مع العلم انا قافل الفري روم function chatbox( text, type) cancelEvent() local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox)
  11. الكلام يظهر مرتين مع العلم انا قافل الفري روم function chatbox( text, type) cancelEvent() local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox)
  12. lمعليش ما شفت الصفحة الثانية outputChatBox ("[C.Console]: Chat has been locked by Console ", root,255,0,0,true) local root = getRootElement() function chatbox(text, msgtype) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#660000 * [ Console ] " .. name .. ": #ffFFff" .. text, root, 255, 255, 255, true) else outputChatBox("#A2AB07 #Chat Loked By Console", root, 255, 255, 255, true) end end addEventHandler('onPlayerChat',root,chatbox) function GRAND() outputChatBox ( "#Chat Loked By Console", source, 0, 0, 0, true ) end addEventHandler("onPlayerJoin", getRootElement(), GRAND)
  13. lمعليش ما شفت الصفحة الثانية outputChatBox ("[C.Console]: Chat has been locked by Console ", root,255,0,0,true) local root = getRootElement() function chatbox(text, msgtype) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#660000 * [ Console ] " .. name .. ": #ffFFff" .. text, root, 255, 255, 255, true) else outputChatBox("#A2AB07 #Chat Loked By Console", root, 255, 255, 255, true) end end addEventHandler('onPlayerChat',root,chatbox) function GRAND() outputChatBox ( "#Chat Loked By Console", source, 0, 0, 0, true ) end addEventHandler("onPlayerJoin", getRootElement(), GRAND)
  14. ايش تبي تسوي بالظبط
  15. ايش تبي تسوي بالظبط
  16. outputChatBox ( "text", root,255,255,0,true) حطه في اول الملف انا اللي فهمت لما يشتغل المود *
  17. outputChatBox ( "text", root,255,255,0,true) حطه في اول الملف انا اللي فهمت لما يشتغل المود *
×
×
  • Create New...