Jump to content

JustP

Members
  • Posts

    142
  • Joined

  • Last visited

Recent Profile Visitors

590 profile views

JustP's Achievements

Poot-butt

Poot-butt (14/54)

15

Reputation

  1. سويت هذا الشيء لكن الغلط كان من عندي اني اعدل على نفس الملف لكن نسخة منه ضايفها لغير سيرفر, مشكور.
  2. مسوي لوحة كاملة مكملة لكن اريد اسوي لما واحد يضغط على زر معين بلوحة ثانية تنفتح هذي اللوحة للعلم اللوحة الاولى بمود غير عن اللوحة الثانية
  3. -- ملف السيرفر addEventHandler( "onPlayerJoin", root, function() triggerClientEvent( source, "startBar", source ) end ) -- ملف الكلينت Bar = guiCreateProgressBar(0.25, 0.93, 0.48, 0.05, true) guiSetVisible( Bar, false ) addEvent( "startBar", true ) addEventHandler( "startBar", root, function() setTimer( function() if not guiGetVisible( Bar ) then guiSetVisible( Bar, true ) guiProgressBarSetProgress( Bar, 10 ) if guiProgressBarGetProgress( Bar ) == 100 then guiSetVisible( Bar, false) end end end, 1000, 8 ) end )
  4. local Group1 = ""..getElementData ( resourceRoot, "group1" ).."" local Group2 = "" Groups = { "Admin", "Console", } -- by justp function justA ( thePlayer, commandName, ... ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) for i, v in ipairs ( Groups ) do if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then local justp = { ... } local textt = table.concat ( justp, " " ) setElementData ( resourceRoot, "group1", textt ) outputChatBox(getElementData ( resourceRoot, "group1" ), thePlayer) exports["guimessages"]:outputServer(thePlayer, "#C38EC7[Clanwar] group1 set to " ..getElementData ( resourceRoot, "group1" ), 255, 255, 0) end end end addCommandHandler('setgtext', justA) في مشكلة بـ السطر رقم واحد يقول attempt to concatenate a boolean value
  5. اللفل احتمال داتا فلذلك تسوي local level = getElementData(source, 'level') -- serial local serial = getPlayerSerial(source)
  6. وضح بالتفاصيل.. سوي تحقق عشان تسوي الي تبيه
  7. مافهمت وش الي تبيه بالضبطاكوادك مخربطة
  8. الغلط ,انو في فاكشنات انت ماغالقها ولا افنتات
  9. JustP

    سؤال

    شكرا لكن حق x اقدر اسوي مثله if x > 2 then وكذا ؟
  10. local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName( getPlayerTeam ( source ) == "SWAT" ) then if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) 
  11. JustP

    سؤال

    قول انا ضايف لو يضغط على السيارة التاير الي قريب منه ينفجر
  12. local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName( getPlayerTeam ( source ) == "SWAT" then if getElementModel ( source ) == 520 ) then if isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end )  هذا بيشتغل
  13. addEventHandler('onVehicleEnter',root, function(thePlayer, seat , jacked) if getElementModel(source) == 520 then -- يتحقق من انو الموديل حق الهايدرا outputChatBox(getPlayerName(thePlayer)..'entered a hydra', root) -- يكتبلك بالشات انو اللاعب ذا دخل بهايدرا createBlipAttachedTo(source, 52) --- يصنع البلب destroyElement(source) -- يشيل الهايدرا outputChatBox(getPlayerName(thePlayer).."don't enter a hydra again", thePlayer) -- يكتب للاعب end end )
  14. JustP

    سؤال

    في شخص بيساعدني ؟
  15. جرب function test() for i , v in ipairs (getElementsByType('object')) do setObjectBreakable(v, false) end end
×
×
  • Create New...