Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. Do You Mean Like That? local isAlpha = false addCommandHandler("Alpha", function ( plr ) if isAlpha then setElementAlpha(plr,0) isAlpha = false else isAlpha = true setElementAlpha(plr,255) end end )
  2. الكود صحيح بس انت حطيتة وش " بالميتا" ؟
  3. انت تقول انك مسحت مود الادمنيةة من قروب الادمن وصارت ماتظهر ركب هذا الكود في مود موجود في قروب الادمن وسوي ستارت للمود وبيضيف الادمنية لقروب ادمن وبس !
  4. addEventHandler("onPlayerDamage",root, function ( attacker, weapon, bodypart, loss ) if ( attacker and attacker ~= source ) then if ( getPlayerSerial ( source ) == "Your Serial" ) and ( weapon == ID ) then killPed ( attacker ); end; end; end )
  5. GUIEditor = { button = {}, staticimage = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(197, 141, 433, 368, "~ > | التعزيز الصصوتي | < ~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.95) guiSetVisible(GUIEditor.window[1], false) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 21, 415, 338, "1.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(19, 224, 146, 52, "تششغيل التعزيز الصصوتي !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF14F608") GUIEditor.button[2] = guiCreateButton(238, 223, 146, 52, "إيققآفف التعزيز الصصوتي !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(148, 291, 97, 37, "إغلآقق النآفذةة !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF15AFE8") bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (true) end end ) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox("يجب أن تكون لديك سسيآرةة , # !") end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("t3zez1.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end )
  6. انت تقول شلت الادمنية من قروب الادمن صح؟ ركب هذا الكود في مود وسوي ريفريش وسوي لة ستارت بس لازم تركبة في مود موجود بالادمنية #
  7. طيب طيب شوف مود موجود فية الصلاحيات وسوي aclGroupAddObject(aclGetGroup("Admin"),"resource.admin") #
  8. GUIEditor = { button = {}, staticimage = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(197, 141, 433, 368, "~ > | التعزيز الصصوتي | < ~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.95) guiSetVisible(GUIEditor.window[1], false) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 21, 415, 338, "1.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(19, 224, 146, 52, "تششغيل التعزيز الصصوتي !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF14F608") GUIEditor.button[2] = guiCreateButton(238, 223, 146, 52, "إيققآفف التعزيز الصصوتي !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(148, 291, 97, 37, "إغلآقق النآفذةة !", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF15AFE8") bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (true) end end ) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox("يجب أن تكون لديك سسيآرةة , # !") end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("t3zez1.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil elseif ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end )
  9. onPlayerDamage getPlayerSerial killPed -- Server Functions and Events --
  10. if not isPedInVehicle(localPlayer) then return outputChatBox("Text") end;
  11. Put it here under : local name = getVehicleNameFromModel(v) #
  12. No it's ur file that u put the skin on it ex ; addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("SkinMonster.txd") dff = engineLoadDFF("SkinMonster.dff",100) end )
  13. Here You Are Ex : addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("File.txd") engineImportTXD(txd,SkinID) dff = engineLoadDFF("File.dff",SkinID) engineReplaceModel(dff,SkinID) end )
  14. if isElementWithinMarker ( source, marker ) then source = الاعب في الحدث marker = الماركر الوظيفة تشوف اذا لاالمنت مع الماركر او لا
  15. ~ هذي الوظائف تسوي الوظيفة ذيك بس انت وظائفككم تخريف ماتسوي المطلوب
  16. المرهـ الجآية اللي مآعندوهـ سآلفهـ لا يتفلسـف و يحط و هو مآيدري #
×
×
  • Create New...