Agent69

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Agent69

  • Rank
    Square
  1. نفس المشكلة ، جربت اكثر من سي بق ثاني ونفس المشكلة .. هل السبب يرجع عشان مقوي الاسلحة؟
  2. Debug didn't show nothing about it Ok i will try
  3. ايه مفيش حد عارف الحل؟
  4. function resourceStart () setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) end addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) function resourceStop () setGlitchEnabled ( "quickreload", false ) setGlitchEnabled ( "fastmove", false ) setGlitchEnabled ( "fastfire", false ) setGlitchEnabled ( "crouchbug", false ) end addEventHandler ( "onResourceStop", getResourceRootElement ( ), resourceStop ) function RecieveScriptFromServer () local file = fileOpen ( 'client.Lua', true ) if file then local packets = {} local counter = 1 while not fileIsEOF(file) do packets[counter] = fileRead(file, 30000) counter = counter + 1 end fileClose(file) triggerClientEvent ( source, "onRequestCBug", source, packets) else outputConsole("Client files are missing serverside!") end end addEvent( "onRecieveCBug", true ) addEventHandler( "onRecieveCBug", root, RecieveScriptFromServer )
  5. ذحين مركب في سيرفري ٥ مودات سي بق ولا واحد منهم يشتغل طول الوقت !! يعني لو شغلت واحد حده ٥ دقايق ويطفي لوحده ايش الحل
  6. hello all , i make a jail admin script and when i put someone in jail he can open f1 to f12 , i tried toggleControl like this toggleControl(toWho, "fire", false) toggleControl(toWho, "chatbox", false) toggleControl(toWho, "radar", false) toggleControl(toWho, "aim", false) the player can't move or talk but he can do any function in server like open command panel " F8 " and change his name and can open any other panel . did i miss something ?
  7. Any one ? 🙄🤔
  8. السلام عليكم ورحمة الله وبركاته , ذحين معي ذا الكود مبني علي سكربت ايديتور داخل الجيم المهم الكود مايشتغل الا لو كنت فالعالم الطبيعي , جربت اسوي هيك ماظبط , وين الخطأ طيب ؟ function meditCreateData( id, posTable, rotTable ) local num = createEntity( id, posTable, rotTable ) if source then if ( getElementDimension( source ) ~= 0 ) then setTimer( triggerClientEvent, 500, 1, source, 'meditStartEditing', source, data[num].element ) end end end function meditInfoUpdate( element, newmodel, posTable, rotTable ) local num = dataFromElement[ element ] or false if num and data[ num ] then if posTable and ( getElementDimension( data[num].element ) ~= 0 ) then data[num].position = posTable setElementPosition( data[num].element, posTable.x, posTable.y, posTable.z ) end
  9. hello all , i got a problem here when i try to create an object in Dimension world or interior world , i use getElementDimension and didn't work on Dimension world the code : function meditCreateData( id, posTable, rotTable ) local num = createEntity( id, posTable, rotTable ) if source then if ( getElementDimension( source ) ~= 0 ) then setTimer( triggerClientEvent, 500, 1, source, 'meditStartEditing', source, data[num].element ) end end end function meditInfoUpdate( element, newmodel, posTable, rotTable ) local num = dataFromElement[ element ] or false if num and data[ num ] then if posTable and ( getElementDimension( data[num].element ) ~= 0 ) then data[num].position = posTable setElementPosition( data[num].element, posTable.x, posTable.y, posTable.z ) end