0 Üye ve 1 Ziyaretçi konuyu incelemekte.
----------------------Ön Ayar----------------------Komut = "vip"Vip_Arac = 411Vip_Karakter = 39---------------------------Fonksiyonlar---------------------------function PanelAc(source, commandName)local accName = getAccountName(getPlayerAccount(source))if isObjectInACLGroup ("user."..accName, aclGetGroup("Vip")) thentriggerClientEvent(source, "PanelAcma", source)elseoutputChatBox("Bu komutu kullanmak için Vip Üye olmalısınız.", source, 0, 150, 255, true)endendaddCommandHandler( Komut, PanelAc)addEvent ("SilahKullan", true)addEventHandler ("SilahKullan", getRootElement(), function(id)giveWeapon(source, tonumber(id),99999)outputChatBox("Silah alındı. [İD:"..id.."]", source, 0, 200, 255, true)end)function dokunulmazlik ( source )if ( isPedInVehicle ( source ) ) thenif ( isVehicleDamageProof ( getPedOccupiedVehicle ( source ) ) == false ) thensetVehicleDamageProof ( getPedOccupiedVehicle ( source ), true )outputChatBox("Dokunulmazlık Modu açıldı.", source, 0, 200, 255, true)endendendaddEvent("dokunulmazlik", true )addEventHandler("dokunulmazlik", resourceRoot, dokunulmazlik )function dokunulmazlik_kapat ( source )if ( isPedInVehicle ( source ) ) thensetVehicleDamageProof ( getPedOccupiedVehicle ( source ), false )outputChatBox("Dokunulmazlık Modu kapandı.", source, 0, 150, 255, true)endendaddEvent("dokunulmazlik2", true)addEventHandler("dokunulmazlik2", resourceRoot, dokunulmazlik_kapat )function Beceriler_Doldur()setPedStat(source, 22, 1000)setPedStat(source, 23, 1000)setPedStat(source, 24, 1000)setPedStat(source, 25, 1000)setPedStat(source, 69, 1000)setPedStat(source, 70, 1000)setPedStat(source, 71, 1000)setPedStat(source, 72, 1000)setPedStat(source, 73, 1000)setPedStat(source, 74, 1000)setPedStat(source, 75, 1000)setPedStat(source, 76, 1000)setPedStat(source, 77, 1000)setPedStat(source, 78, 1000)setPedStat(source, 79, 1000)setPedStat(source, 80, 1000)setPedStat(source, 81, 1000)setPedArmor(source, 100)setElementHealth(source, 200)outputChatBox("Beceriler doldurulmuştur.", source, 0, 200, 255,false)endaddEvent( "Beceriler_event", true )addEventHandler( "Beceriler_event", getRootElement(), Beceriler_Doldur)veh= {}function Araba()if veh[source] andisElement(veh[source]) thendestroyElement(veh[source])veh[source] = nilendlocal x,y,z = getElementPosition(source)local zx,zy,zz = getElementRotation(source)veh[source] = createVehicle(Vip_Arac, x, y, z, zx, zy, zz)setVehicleColor(veh[source], 0, 200, 255)addVehicleUpgrade(veh[source], 1010)warpPedIntoVehicle(source, veh[source])outputChatBox("Araba alındı.", source, 0, 200, 255, true)endaddEvent("araba_event", true)addEventHandler("araba_event", getRootElement(), Araba)function AracHata(thePlayer, seat, jacked)if getElementModel(source) == Vip_Arac thenlocal accName = getAccountName(getPlayerAccount(thePlayer))if isObjectInACLGroup("user."..accName, aclGetGroup("Vip"))thenelsecancelEvent()outputChatBox("Bu arabaya binmek için VİP Üye olmalısınız.", thePlayer, 0, 150, 255, true)endendendaddEventHandler("onVehicleStartEnter", getRootElement(), AracHata)function karakter_fonksiyon()setPedSkin(source, Vip_Karakter)outputChatBox("Karakter alındı.", source, 0, 200, 255, true)endaddEvent( "karakter_event", true )addEventHandler( "karakter_event", getRootElement(), karakter_fonksiyon )function JetPackModu()local JetPackVar = doesPedHaveJetPack(source)if (JetPackVar) then removePedJetPack(source)outputChatBox("JetPack bırakıldı.", source, 0, 150, 255, true)elsegivePedJetPack(source)outputChatBox("JetPack alındı.", source, 0, 200, 255, true)endendaddEvent( "JetPack_event", true )addEventHandler( "JetPack_event", getRootElement(), JetPackModu)
-------------------------------------------------------Script ByCash tarafından kodlanıp paylaşılmıştır.----wwww.MTASA-TURK.com'u ziyaret etmeyi unutmayınız.----------LS Gaming Freeroam /0.1 beta scripti.-------------------------------------------------------------h1,h2,h3,h4,h5,h6 = "B","y","C","a","s","h"Yapimci_ = h1..h2..h3..h4..h5..h6-----------------------------Panel Ortalama-----------------------------sC,sD = guiGetScreenSize()C,D = 378,250A = (sC/2) - (C/2)B = (sD/2) - (D/2)--------------------Panel--------------------panel = guiCreateStaticImage(A, B, C, D, "Dosyalar/Resimler/siyah.png", false)guiSetVisible(panel,false)mavi_kisim = guiCreateStaticImage(0, 0, 378, 25, "Dosyalar/Resimler/altin.png", false, panel)------------------------Panel Adı------------------------panel_adi = guiCreateLabel(165, 5, 120, 25, "Vip Panel", false, mavi_kisim)guiSetFont(panel_adi, "default-bold-small")guiLabelSetColor(panel_adi, 255, 255, 255)-------------------------------Script Yapımcısı-------------------------------Yapimci = guiCreateLabel(10, 5, 120, 25, Yapimci_, false, mavi_kisim)guiSetFont(Yapimci, "default-bold-small")-------------------------Seçenekler-------------------------secenekler_label = guiCreateLabel(20, 50, 178, 16, "Seçenekler", false, panel)guiSetFont(secenekler_label, "default-bold-small")-------------------------Özellikler-------------------------ozellik1 = guiCreateCheckBox(20, 70, 130, 25, "Dokunulmazlık Modu", false, false, panel)ozellik2 = guiCreateCheckBox(20, 90, 110, 25, "Uçma Modu", false, false, panel)ozellik3 = guiCreateCheckBox(20, 110, 110, 25, "Yüzme Modu", false, false, panel)ozellik4 = guiCreateCheckBox(20, 130, 130, 25, "JetPack Modu", false, false, panel)--------------------------------Becerileri Doldur--------------------------------beceriler_buton = guiCreateStaticImage(20, 160, 120, 25, "Dosyalar/Resimler/altin.png", false, panel)beceriler_label = guiCreateLabel(17, 5, 110, 25, "Becerileri Doldur", false, beceriler_buton)guiSetFont(beceriler_label, "default-bold-small")guiLabelSetColor(beceriler_label, 255, 255, 255)------------------------------Karakter Kullan------------------------------karakter_buton = guiCreateStaticImage(20, 190, 120, 25, "Dosyalar/Resimler/altin.png", false, panel)karakter_label = guiCreateLabel(18, 5, 110, 25, "Karakter Kullan", false, karakter_buton)guiSetFont(karakter_label, "default-bold-small")guiLabelSetColor(karakter_label, 255, 255, 255)---------------------------Araba Kullan---------------------------araba_buton = guiCreateStaticImage(20, 220, 120, 25, "Dosyalar/Resimler/altin.png", false, panel)araba_label = guiCreateLabel(23.5, 5, 110, 25, "Araba Kullan", false, araba_buton)guiSetFont(araba_label, "default-bold-small")guiLabelSetColor(araba_label, 255, 255, 255)--------------------------------Silah Listesi--------------------------------silah_listesi_label = guiCreateLabel(237, 50, 178, 16, "Silah Listesi", false, panel)guiSetFont(silah_listesi_label, "default-bold-small")-------------------------------------Silah Listesi Gridlist-------------------------------------gizle = guiCreateStaticImage(180, 70, 178, 145, "Dosyalar/Resimler/siyah.png", false, panel)silah_listesi = guiCreateGridList(-5, -24.5, 230, 188, false, gizle)guiGridListSetSortingEnabled(silah_listesi, false)guiGridListAddColumn(silah_listesi, "Silah", 0.9)for i = 1, 6 doguiGridListAddRow(silah_listesi)end---------------------------Silah Kullan---------------------------silah_buton = guiCreateStaticImage(180, 220, 178, 25, "Dosyalar/Resimler/altin.png", false, panel)silah_label = guiCreateLabel(57, 5, 110, 25, "Silahı Kullan", false, silah_buton)guiSetFont(silah_label, "default-bold-small")guiLabelSetColor(silah_label, 255, 255, 255)---------------------------Paneli Kapat---------------------------kapat_label = guiCreateLabel(360, 5, 60, 24, "X", false, mavi_kisim)guiSetFont(kapat_label, "default-bold-small")guiLabelSetColor(kapat_label, 255, 255, 255)function kapat()if source == kapat_label thenguiSetVisible(panel, false)showCursor(false)endendaddEventHandler("onClientGUIClick", root, kapat)--------------------------Buton Alpha--------------------------addEventHandler ("onClientMouseEnter", root,function ()if source == silah_label thenguiSetAlpha(silah_label, 0.5)elseif source == araba_label thenguiSetAlpha(araba_label, 0.5)elseif source == karakter_label thenguiSetAlpha(karakter_label, 0.5)elseif source == beceriler_label thenguiSetAlpha(beceriler_label, 0.5)elseif source == kapat_label thenguiSetAlpha(kapat_label, 0.5)endendendendendend)addEventHandler ("onClientMouseLeave", root,function ()if source == silah_label thenguiSetAlpha(silah_label, 1)elseif source == araba_label thenguiSetAlpha(araba_label, 1)elseif source == karakter_label thenguiSetAlpha(karakter_label, 1)elseif source == beceriler_label thenguiSetAlpha(beceriler_label, 1)elseif source == kapat_label thenguiSetAlpha(kapat_label, 1)endendendendendend)---------------------------Fonksiyonlar---------------------------function D_Modu()if isPedInVehicle(localPlayer) == false thenoutputChatBox("Dokunulmazlık Modu arabada değilken kullanılamaz.", 0, 150, 255, true)endif isPedInVehicle(localPlayer) == true thenif guiCheckBoxGetSelected(ozellik1) == true thentriggerServerEvent("dokunulmazlik", root, localPlayer)elsetriggerServerEvent("dokunulmazlik2", root, localPlayer)endelseguiCheckBoxSetSelected(ozellik1, false)endendaddEventHandler("onClientGUIClick", ozellik1, D_Modu, false)function UcmaModu()if isPedInVehicle(localPlayer) == false thenoutputChatBox("Uçma Modu arabada değilken kullanılamaz.", 0, 150, 255, true)endif isPedInVehicle(localPlayer) == true thenif guiCheckBoxGetSelected(ozellik2) == true thensetWorldSpecialPropertyEnabled("aircars", true)outputChatBox("Uçma Modu açıldı.", 0, 200, 255, true)elsesetWorldSpecialPropertyEnabled("aircars", false)outputChatBox("Uçma Modu kapandı.", 0, 150, 255, true)endelseguiCheckBoxSetSelected(ozellik2, false)endendaddEventHandler("onClientGUIClick", ozellik2, UcmaModu, false)function YuzmeModu()if isPedInVehicle(localPlayer) == false thenoutputChatBox("Yüzme Modu arabada değilken kullanılamaz.", 0, 150, 255, true)endif isPedInVehicle(localPlayer) == true thenif guiCheckBoxGetSelected(ozellik3) == true thensetWorldSpecialPropertyEnabled("hovercars", true)outputChatBox("Yüzme Modu açıldı.", 0, 200, 255, true)elsesetWorldSpecialPropertyEnabled("hovercars", false)outputChatBox("Yüzme Modu kapandı.", 0, 150, 255, true)endelseguiCheckBoxSetSelected(ozellik3, false)endendaddEventHandler("onClientGUIClick", ozellik3, YuzmeModu, false)addEventHandler("onClientGUIClick",root,function()if source == beceriler_label thentriggerServerEvent ("Beceriler_event", localPlayer)endend)function JetPackModu()if isPedInVehicle(localPlayer) == true thenoutputChatBox("JetPack Modu sivil değilken kullanılamaz.", 0, 150, 255, true)endif isPedInVehicle(localPlayer) == false thenif guiCheckBoxGetSelected(ozellik4) == true thentriggerServerEvent ("JetPack_event", localPlayer, true)elsetriggerServerEvent ("JetPack_event", localPlayer, false)endelseguiCheckBoxSetSelected(ozellik4, false)endendaddEventHandler("onClientGUIClick", ozellik4, JetPackModu, false)addEventHandler("onClientGUIClick",root,function()if source == karakter_label thentriggerServerEvent ("karakter_event", localPlayer)endend)addEventHandler("onClientGUIClick",root,function()if source == araba_label thentriggerServerEvent ("araba_event", localPlayer)endend)local Silahlar = {{34,99999},{31,99999},{30,99999},{29,99999},{32,99999},{28,99999},{27,99999},{26,99999},{25,99999},{24,99999},{23,99999},{22,99999},{5,99999}}for i,v in ipairs (Silahlar) dolocal itemName = getWeaponNameFromID (v[1])local row = guiGridListAddRow(silah_listesi)guiGridListSetItemText(silah_listesi, row, 1, itemName, false, true)guiGridListSetItemText(silah_listesi, row, 2, tostring(v[2]), false, true)endaddEventHandler("onClientGUIClick",root,function()if source == silah_label thenif (guiGridListGetSelectedItem (silah_listesi)) thenlocal itemName = guiGridListGetItemText (silah_listesi, guiGridListGetSelectedItem (silah_listesi), 1)local itemID = getWeaponIDFromName (itemName)triggerServerEvent ("SilahKullan", getLocalPlayer(), itemID, itemName)endendend)function VipPanel()if guiGetVisible(panel) thenguiSetVisible(panel, false)showCursor(false)elseguiSetVisible(panel, true)showCursor(true)end endaddEvent( "PanelAcma", true )addEventHandler( "PanelAcma", getRootElement(), VipPanel)
----------------------Ön Ayar----------------------Komut = "polis"Acl_Grup = "Polis"---------------------------Fonksiyonlar---------------------------function PanelAc(source, commandName)local accName = getAccountName(getPlayerAccount(source))if isObjectInACLGroup ("user."..accName, aclGetGroup(Acl_Grup)) thentriggerClientEvent(source, "PanelAcma", source)elseoutputChatBox("Bu komutu kullanmak için Polis olmalısınız.", source, 0, 150, 255, true)endendaddCommandHandler( Komut, PanelAc)addEvent ("SilahKullan", true)addEventHandler ("SilahKullan", getRootElement(), function(id)giveWeapon(source, tonumber(id),99999)outputChatBox("Silah alındı. [İD:"..id.."]", source, 0, 200, 255, true)end)
-------------------------------------------------------Script ByCash tarafından kodlanıp paylaşılmıştır.----wwww.MTASA-TURK.com'u ziyaret etmeyi unutmayınız.----------LS Gaming Freeroam /0.1 beta scripti.-------------------------------------------------------------h1,h2,h3,h4,h5,h6 = "B","y","C","a","s","h"Yapimci_ = h1..h2..h3..h4..h5..h6----------------------Ön Ayar----------------------local Silahlar = {{34,99999},{31,99999},{30,99999},{29,99999},{32,99999},{28,99999},{27,99999},{26,99999},{25,99999},{24,99999},{23,99999},{22,99999},{5,99999}}-----------------------------Panel Ortalama-----------------------------sC,sD = guiGetScreenSize()C,D = 378,250A = (sC/2) - (C/2)B = (sD/2) - (D/2)--------------------Panel--------------------panel = guiCreateStaticImage(A, B, C, D, "Dosyalar/Resimler/siyah.png", false)guiSetVisible(panel,false)mavi_kisim = guiCreateStaticImage(0, 0, 378, 25, "Dosyalar/Resimler/altin.png", false, panel)------------------------Panel Adı------------------------panel_adi = guiCreateLabel(165, 5, 120, 25, "Polis Paneli", false, mavi_kisim)guiSetFont(panel_adi, "default-bold-small")guiLabelSetColor(panel_adi, 255, 255, 255)-------------------------------Script Yapımcısı-------------------------------Yapimci = guiCreateLabel(10, 5, 120, 25, Yapimci_, false, mavi_kisim)guiSetFont(Yapimci, "default-bold-small")--------------------------------Silah Listesi--------------------------------silah_listesi_label = guiCreateLabel(237, 50, 178, 16, "Silah Listesi", false, panel)guiSetFont(silah_listesi_label, "default-bold-small")-------------------------------------Silah Listesi Gridlist-------------------------------------gizle = guiCreateStaticImage(180, 70, 178, 145, "Dosyalar/Resimler/siyah.png", false, panel)silah_listesi = guiCreateGridList(-5, -24.5, 230, 188, false, gizle)guiGridListSetSortingEnabled(silah_listesi, false)guiGridListAddColumn(silah_listesi, "Silah", 0.9)for i = 1, 6 doguiGridListAddRow(silah_listesi)end---------------------------Silah Kullan---------------------------silah_buton = guiCreateStaticImage(180, 220, 178, 25, "Dosyalar/Resimler/altin.png", false, panel)silah_label = guiCreateLabel(57, 5, 110, 25, "Silahı Kullan", false, silah_buton)guiSetFont(silah_label, "default-bold-small")guiLabelSetColor(silah_label, 255, 255, 255)---------------------------Paneli Kapat---------------------------kapat_label = guiCreateLabel(360, 5, 60, 24, "X", false, mavi_kisim)guiSetFont(kapat_label, "default-bold-small")guiLabelSetColor(kapat_label, 255, 255, 255)function kapat()if source == kapat_label thenguiSetVisible(panel, false)showCursor(false)endendaddEventHandler("onClientGUIClick", root, kapat)--------------------------Buton Alpha--------------------------addEventHandler ("onClientMouseEnter", root,function ()if source == silah_label thenguiSetAlpha(silah_label, 0.5)elseif source == kapat_label thenguiSetAlpha(kapat_label, 0.5)endendend)addEventHandler ("onClientMouseLeave", root,function ()if source == silah_label thenguiSetAlpha(silah_label, 1)elseif source == kapat_label thenguiSetAlpha(kapat_label, 1)endendend)---------------------------Fonksiyonlar---------------------------for i,v in ipairs (Silahlar) dolocal itemName = getWeaponNameFromID (v[1])local row = guiGridListAddRow(silah_listesi)guiGridListSetItemText(silah_listesi, row, 1, itemName, false, true)guiGridListSetItemText(silah_listesi, row, 2, tostring(v[2]), false, true)endaddEventHandler("onClientGUIClick",root,function()if source == silah_label thenif (guiGridListGetSelectedItem (silah_listesi)) thenlocal itemName = guiGridListGetItemText (silah_listesi, guiGridListGetSelectedItem (silah_listesi), 1)local itemID = getWeaponIDFromName (itemName)triggerServerEvent ("SilahKullan", getLocalPlayer(), itemID, itemName)endendend)function PolisPaneli()if guiGetVisible(panel) thenguiSetVisible(panel, false)showCursor(false)elseguiSetVisible(panel, true)showCursor(true)end endaddEvent( "PanelAcma", true )addEventHandler( "PanelAcma", getRootElement(), PolisPaneli)