VenomNX

Members
  • Content Count

    1,848
  • Joined

  • Last visited

  • Days Won

    5

VenomNX last won the day on July 9

VenomNX had the most liked content!

Community Reputation

172 Celebrity

About VenomNX

  • Rank
    Jacker
  • Birthday 23/05/1998

Details

  • Gang
    Sicilia
  • Location
    My House
  • Occupation
    ...............

Recent Profile Visitors

3,117 profile views
  1. I don't know how they do it, But I suggest you to change the "walk_player" animation. This is the default animation for the walk
  2. اكواد السيرفر حطها اخر شي بملف السيرفر وكذلك اكواد الكلينت ماراح تخرب عليك نهائياً بس عدل المتغيرات
  3. "onPlayerLogout" -- عند تسجيل الخروج من الحساب "onPlayerQuit" -- عند مغادرة اللاعب للسيرفر
  4. addEventHandler("onPlayerJoin",root,function() setPlayerWantedLevel(source,0); end)
  5. اقل شي عبر الاكواد اللي كتبتها لك وحطها في الكود حقك لول 😁
  6. يعني اللاعب خرج كيف تبي تمسح نجومه وهو اصلاً مافيه لاعب
  7. Server -- Server addEventHandler("onResourceStart",resourceRoot, function() executeSQLQuery("CREATE TABLE IF NOT EXISTS BAN_LIST (PlayerSerial TEXT,ResponsibleSerial TEXT)"); end ) function onPlayerBanned(responsible) local player = source; local playerSerial = getPlayerSerial(player); local responsibleSerial = getPlayerSerial(responsible); local SQL = executeSQLQuery("SELECT * FROM BAN_LIST WHERE PlayerSerial=?",playerSerial); if SQL[1] == nil then executeSQLQuery("INSERT INTO BAN_LIST (PlayerSerial,ResponsibleSerial) VALUES(?,?)",playerSerial,responsibleSerial); local SQL = executeSQLQuery("SELECT * FROM BAN_LIST WHERE PlayerSerial=?",playerSerial); if SQL[1] ~= nil and SQL[1].PlayerSerial == playerSerial then triggerClientEvent(player,"onClientPlayerBanned",player,responsible); end else outputChatBox("هذا اللاعب في قائمة الحظر بالفعل !",responsible); end end addEvent("onPlayerBanned",true); addEventHandler("onPlayerBanned",root,onPlayerBanned); addEvent("OnClientStart",true); addEventHandler("OnClientStart",root,function() local playerSerial = getPlayerSerial(source); local SQL = executeSQLQuery("SELECT * FROM BAN_LIST WHERE PlayerSerial=?",playerSerial); if SQL[1] == nil then triggerClientEvent(source,"OnClientStart",source); else triggerClientEvent(source,"OnClientStart",source,true); end end) Client BanPlayer(player): player : اللاعب اللي تبي تحظره , طبعاً انت تحدد طريقة اختيار اللاعب انا ماحددت طريقة انا حطيت الفنكشن بس -- client local key1 = "F2"; -- زر اللوحة الاولى local key2 = "F3"; -- زر اللوحة الثانية local window1 = var1; -- الى متغير اللوحة الاولى var1 غير local window2 = var2; -- الى متغير اللوحة الثانية var2 غير function OpenFirstWindow() if not guiGetVisible(window1) then guiSetVisible(window1,true); showCursor(true); else guiSetVisible(window1,false); showCursor(false); end end function OpenSecondWindow() if not guiGetVisible(window2) then guiSetVisible(window2,true); showCursor(true); else guiSetVisible(window2,false); showCursor(false); end end addEventHandler("onClientResourceStart",resourceRoot,function() triggerServerEvent("OnClientStart",localPlayer); end); function BanPlayer(player) if player and isElement(player) and getElementType(player)=="player" then local responsible = localPlayer; triggerServerEvent("onPlayerBanned",player,responsible); return true; end return false; end function onClientPlayerBanned(responsible) outputChatBox("لقد تم حظرك من قبل "..getPlayerName(responsible):gsub("#%x%x%x%x%x%x",""),244,14,14); unbindKey("زر اللوحة المحظورة","down",OpenFirstWindow); bindKey("زر اللوحة الثانية","down",OpenSecondWindow); guiSetVisible(window1,false); showCursor(false); end addEvent("onClientPlayerBanned",true); addEventHandler("onClientPlayerBanned",root,onClientPlayerBanned); addEvent("OnClientStart",true); addEventHandler("OnClientStart",root,function(isBanned) if not isBanned then bindKey(key1,"down",OpenFirstWindow); else bindKey(key2,"down",OpenSecondWindow); end end)
  8. تعلم اول شي وبعدين تقدر تسوي كل شي هذا السكربت راح ياخذ منك مجهود وانصحك تنسى موضوعه لين تتعلم اكثر
  9. Actually you don't need to get the marker from server-side
  10. That will fix the problem 👌
  11. Cylinder1 = createMarker(3139.8, -3254.3, 123.22222, "cylinder", 1.0, 0, 255, 255, 255) function TEST(playerhit) if source == Cylinder1 then if playerhit and getElementType(playerhit)=="player" then outputChatBox("U hit marker", root) end end end addEventHandler("onMarkerHit", root, TEST)
  12. Remove the if-statement "isElementWithinMarker"
  13. check meta.xml or remove "isElementWithinMarker" function and output the message directly