Jump to content

+Source|>

Members
  • Posts

    1,388
  • Joined

  • Last visited

  • Days Won

    14

+Source|> last won the day on October 2 2023

+Source|> had the most liked content!

About +Source|>

  • Birthday July 13

Details

  • Gang
    Source
  • Location
    saudi arabia
  • Occupation
    _
  • Interests
    _

Recent Profile Visitors

5,259 profile views

+Source|>'s Achievements

Lil' G

Lil' G (37/54)

225

Reputation

  1. مارح يشتغل لانك شغلت المود وجربته ونسيت ان فيه onPlayerJoin شغل المود وسوي ريكونكت......
  2. local optimize = true -- Should the script be optimized? (if optimized, cannot be used client-side) local ids = {} function assignID() for i=1,getMaxPlayers() do if not ids[i] then ids[i] = source setElementData(source,"id",i,not optimize) break end end end addEventHandler("onPlayerJoin",root,assignID) function startup() for k, v in ipairs(getElementsByType("player")) do local id = getElementData(v,"id") if id then ids[id] = v end end end addEventHandler("onResourceStart",resourceRoot,startup) function getPlayerID(player) for k, v in ipairs(ids) do if v == player then return k end end end function freeID() local id = getElementData(source,"id") if not id then return end ids[id] = nil end addEventHandler("onPlayerQuit",root,freeID) function getPlayerByID(id) local player = ids[id] return player or false end -- ابيه يجيب ايدي اللاعب -- Client function mid ( player, commandName ) outputChatBox("Your ID IS"..getPlayerID(player), player, 0, 154, 255, true) end addCommandHandler ( "myid", mid )
  3. الأسهل انك تدمج الاكواد بلوحة الادمن نفسها
  4. البوست له ٢٠ يوم ومحد قدر يساعده يعني الرجال ما لقى اجابه لمشكلته يعني واقف مكانه ما تحرك طيب ليش يوقف عند كود بسيط مثل هذا ويضيع وقته على كودات ثانيه ممكن يتعلمها الرجال اخذ الكود وشاف طريقته وكيف يسويها خلاص ينتقل على اللي بعده ما يوقف عند شي بسيط مثل هذا
  5. Client addEventHandler("onClientGUIClick", adminproot, function() local qus = guiGetText( que ) -- ايديت السؤال local ansr = guiGetText( ans ) -- ايديت الاجابه local mmans = guiGetText( mans ) -- ايديت الجائزه if source == btn then -- حط اسم الزر حقك if qus == "" then outputChatBox( "#ff0000 Please Write The Question ! ", 0, 0, 0, true ) return end if ansr == "" then outputChatBox( "#ff0000 Please Write The Answer ! ", 0, 0, 0, true ) return end if mmans == "" then outputChatBox( "#ff0000 Please Write The Prize ! ", 0, 0, 0, true ) return end if string.len( qus ) > 0 and string.len( ansr ) > 0 and string.len( mmans ) > 0 and tonumber( mmans ) then triggerServerEvent( "onAsk", localPlayer, qus, ansr, mmans ) end end end ) Server sst = false ansr = nil mmans = 0 addEvent("onAsk", true) addEventHandler("onAsk", root, function( qus, ansr, mmans ) sst = true ans = ansr mans = mmans outputChatBox( "Question Is : [ ".. qus .." ] ", root, 255, 0, 0, true ) outputChatBox( "Prize Is [ ".. mans .." $ ] ", root, 255, 0, 0, true ) end ) addEventHandler("onPlayerChat", root, function( msg ) if sst == true then if msg == ans then givePlayerMoney( source, mans ) outputChatBox( " #6960EC# Player [ #00ff00".. getPlayerName( source ) .."#6960EC ] Win [ #00ff00".. mans .." $#6960EC ] And The Answer Was [#00ff00 ".. ans .."#6960EC ] ", root, 0, 0, 0, true ) sst = false ansr = nil mmans = 0 end end end )
  6. function hello( ) bindKey ( source, "m", "down", function( ) outputChatBox ( "تجربة", source, 255, 0, 255, true ) end) end addEventHandler( "onPlayerLogin", root, hello )
  7. سلام عليكم كل عام وانتم بخير ابي اعرف وش اللغه المستخدمه لبرمجة مودات GTA5 الاون لاين ومن وين ابدأ ؟
  8. ما اعتقد ان فيها مشكله نفيد الرجال بعد
  9. https://top4top.io/downloadf-1586mxwyp1-zip.html
  10. bindKey( 'x', 'down', function() executeCommandHandler( 'report' ) end )
  11. استخدم 'onClientGUIClick' executeCommandHandler triggerServerEvent -- لو الامر فالسيرفر سايد
×
×
  • Create New...