
Mr.Co00oL
Members-
Posts
22 -
Joined
-
Last visited
Everything posted by Mr.Co00oL
-
the guieditor i maked open withe guiAddInterpolateEffect function and when the script start the main wnd dont show onley 2 boutouns and not in his place and idk what the problem becouse i m new in that function i just learn some cods and want make this wnd open withe it sory for bad eng
-
i just wirte it the maine wnd is the first and the others open withe boutone understand !
-
hello guys i want help in this script i maked a skin panel all thing is all right but when i start the script the bind key dont work and the panel dont show onley 2 bouton the panel open withe guiAddInterpolateEffect function look when i start it show like this this is the client any help and thx unction guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage(x2, y2, width2, height2, "wnd.png", relative2) local mainBackgroundLabel = guiCreateLabel(0, 0, 0, 0, titleBarText2, false, mainBackground2) guiSetEnabled(mainBackgroundLabel, false) return mainBackground end wnd = guiCreateWindow(0, 518, 1020, 198, "", false) guiWindowSetSizable(wnd, false) specials = guiCreateButton(0.02, 0.62, 0.24, 0.29, "Show List", false, wnd) guiSetProperty(specials, "NormalTextColour", "FFAAAAAA") animals = guiCreateButton(420, 122, 248, 57, "Show List", false, wnd) guiSetProperty(animals, "NormalTextColour", "FFAAAAAA") carton = guiCreateButton(758, 122, 248, 57, "Show List", false, wnd) guiSetProperty(carton, "NormalTextColour", "FFAAAAAA") GUIEditor.staticimage[1] = guiCreateStaticImage(54, 64, 180, 48, "specials.png", false, wnd) GUIEditor.staticimage[2] = guiCreateStaticImage(448, 63, 181, 49, "animal.png", false, wnd) GUIEditor.staticimage[4] = guiCreateStaticImage(800, 63, 146, 42, "cartoon.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(422, 24, 247, 29, ".:: Skins Panel V.3 ::.", false, wnd) function guiAddInterpolateEffect( ... ) return call( getResourceFromName( "GIE" ), "guiAddInterpolateEffect", unpack( { ... } ) ) end local screen = { guiGetScreenSize( ) } local w, h = 392,88 local x, y = ( screen[1] - w ) / 2, ( screen[2] - h ) / 2 guiSetVisible ( wnd, false ) function OpenWin() local cx, cy = guiGetPosition( wnd, false ) local cw, ch = guiGetSize( wnd, false ) if guiGetVisible ( wnd ) then showCursor(false) guiSetInputEnabled(false) guiSetVisible ( specials, false ) guiSetVisible ( animal, false ) guiSetVisible ( cartoon, false ) guiAddInterpolateEffect( wnd, cx, cy, cw, ch, 0, 0, 0, 0, 2,"Linear","Linear",false ) else guiAddInterpolateEffect( wnd, 218,514,392,88, x, y, w, h, 2,"Linear","Linear",true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler("onClientGUIClick",root, function () if source == specials then guiSetVisible ( specials, true ) guiSetVisible ( animals, false ) guiSetVisible ( carton, false ) showCursor(true) end end ) addEventHandler("onClientGUIClick",root, function () if source == animals then guiSetVisible ( specials, false ) guiSetVisible ( animals, true ) guiSetVisible ( carton, false ) showCursor(false) end end ) addEventHandler("onClientGUIClick",root, function () if source == carton then guiSetVisible ( specials, false ) guiSetVisible ( animals, false ) guiSetVisible ( carton, true ) showCursor(true) end end ) specials = guiCreateWindow(104, 0, 760, 522, "", false) guiWindowSetSizable(specials, false) skins = guiCreateLabel(234, 31, 317, 43, ".:Skins Panel V.3::.", false, specials) guiLabelSetColor(skins, 120, 110, 249) GUIEditor.staticimage[1] = guiCreateStaticImage(218, 84, 364, 70, "specials.png", false, specials) joker = guiCreateStaticImage(10, 165, 126, 188, "joker.png", false, specials) michel = guiCreateStaticImage(214, 165, 126, 188, "michel.png", false, specials) PSY = guiCreateStaticImage(420, 164, 126, 188, "PSY.png", false, specials) arabian = guiCreateStaticImage(598, 164, 124, 188, "arabian.png", false, specials) joker = guiCreateButton(9, 371, 127, 36, ".::[OK]::.", false, specials) guiSetProperty(joker, "NormalTextColour", "FFC3F96D") michel = guiCreateButton(213, 371, 127, 36, ".::[OK]::.", false, specials) guiSetProperty(michel, "NormalTextColour", "FFC3F96D") PSY = guiCreateButton(419, 371, 127, 36, ".::[OK]::.", false, specials) guiSetProperty(PSY, "NormalTextColour", "FFC3F96D") arabian = guiCreateButton(600, 371, 122, 36, ".::[OK]::.", false, specials) guiSetProperty(arabian, "NormalTextColour", "FFC3F96D") Co00oL = guiCreateLabel(9, 467, 330, 42, "CreateD by Mr.Co00oL ", false, specials) guiLabelSetColor(Co00oL, 244, 21, 63) close = guiCreateButton(623, 482, 127, 30, "CLose", false, specials) guiSetProperty(Close, "NormalTextColour", "FF8DF315") addEventHandler("onClientGUIClick",root, function () if ( source == close ) then guiSetVisible(specials,false) guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end end ) guiSetVisible (specials, false) function OpenWin() if guiGetVisible ( specials ) then guiSetVisible ( specials, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( specials, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F02", "down", OpenWin) animals = guiCreateWindow(104, 0, 760, 522, "", false) guiWindowSetSizable(animals, false) skins = guiCreateLabel(234, 31, 317, 43, ".:: Skins Panel V.3 ::.", false, animals) guiLabelSetColor(skins, 120, 110, 249) GUIEditor.staticimage[1] = guiCreateStaticImage(218, 84, 364, 70, "animals.png", false, animals) bear = guiCreateStaticImage(10, 165, 126, 188, "bear.png", false, animals) lion = guiCreateStaticImage(214, 165, 126, 188, "lion.png", false, animals) monkey = guiCreateStaticImage(420, 164, 126, 188, "monkey.png", false, animals) shep = guiCreateStaticImage(598, 164, 124, 188, "shep.png", false, animals) bear = guiCreateButton(9, 371, 127, 36, ".::[OK]::.", false, animals) guiSetProperty(bear, "NormalTextColour", "FFC3F96D") lion = guiCreateButton(213, 371, 127, 36, ".::[OK]::.", false, animals) guiSetProperty(lion, "NormalTextColour", "FFC3F96D") monkey = guiCreateButton(419, 371, 127, 36, ".::[OK]::.", false, animals) guiSetProperty(monkey, "NormalTextColour", "FFC3F96D") shep = guiCreateButton(600, 371, 122, 36, ".::[OK]::.", false, animals) guiSetProperty(shep, "NormalTextColour", "FFC3F96D") Co00oL = guiCreateLabel(9, 467, 330, 42, "CreateD by Mr.Co00oL ", false, animals) guiLabelSetColor(Co00oL, 244, 21, 63) close2 = guiCreateButton(623, 482, 127, 30, "CLose", false, animals) guiSetProperty(close2, "NormalTextColour", "FF8DF315") addEventHandler("onClientGUIClick",root, function () if ( source == close2 ) then guiSetVisible(animals,false) guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end end ) guiSetVisible (animals, false) function OpenWin() if guiGetVisible ( animals ) then guiSetVisible ( animals, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( animals, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F06", "down", OpenWin) carton = guiCreateWindow(104, 0, 760, 522, "", false) guiWindowSetSizable(carton, false) skins = guiCreateLabel(234, 31, 317, 43, ".:: Skins Panel V.3 ::.", false, carton) guiLabelSetColor(skins, 120, 110, 249) GUIEditor.staticimage[1] = guiCreateStaticImage(218, 84, 364, 70, "carton.png", false, carton) conan = guiCreateStaticImage(10, 165, 126, 188, "conan.png", false, carton) ninja = guiCreateStaticImage(214, 165, 126, 188, "ninja.png", false, carton) super = guiCreateStaticImage(420, 164, 126, 188, "super.png", false, carton) squed = guiCreateStaticImage(598, 164, 124, 188, "squed.png", false, carton) conan = guiCreateButton(9, 371, 127, 36, ".::[OK]::.", false, carton) guiSetProperty(conan, "NormalTextColour", "FFC3F96D") ninja = guiCreateButton(213, 371, 127, 36, ".::[OK]::.", false, carton) guiSetProperty(ninja, "NormalTextColour", "FFC3F96D") super = guiCreateButton(419, 371, 127, 36, ".::[OK]::.", false, carton) guiSetProperty(super, "NormalTextColour", "FFC3F96D") squed = guiCreateButton(600, 371, 122, 36, ".::[OK]::.", false, carton) guiSetProperty(squed, "NormalTextColour", "FFC3F96D") Co00oL = guiCreateLabel(9, 467, 330, 42, "CreateD by Mr.Co00oL ", false, carton) guiLabelSetColor(Co00oL, 244, 21, 63) close4 = guiCreateButton(623, 482, 127, 30, "CLose", false, carton) guiSetProperty(close4, "NormalTextColour", "FF8DF315") addEventHandler("onClientGUIClick",root, function () if ( source == close4 ) then guiSetVisible(carton,false) guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end end ) guiSetVisible (carton, false) function OpenWin() if guiGetVisible ( carton ) then guiSetVisible ( carton, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( carton, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F22", "down", OpenWin) [/url]
-
no help from arbic mates ok
-
ye is for me i was make as a lote of time but is not woork and i think to add her to know wher is the problem and learned frome it and dont make it agine but no help
-
i m not understand exactly but can you give me the right lua ? i m steal for your replay man plz help me and give me the right lua if you dont want okey
-
truckercolsphere = createColSphere ( 2360.6616210938, 2774.1604003906, 9.8703269958496, 5 ) truckerjobmarker = createMarker ( 2360.6616210938, 2774.1604003906, 9.8703269958496, "cylinder", 2, 0, 0, 255 ) createBlip ( 2360.6616210938, 2774.1604003906, 9.8703269958496, 51 ) function truckerStart ( thePlayer ) local playeraccount = getPlayerAccount ( thePlayer ) if ( player ) then local dim = math.random ( 1, 50000 ) local finish = math.random ( 1, 3 ) local truckerid = "Trucker" .. tostring ( dim ) local finishid = "Finish" .. tostring ( dim ) setElementData ( thePlayer, "TruckID", tostring ( dim ) ) setElementID ( createVehicle ( 515, 2367.9216308594, 2754.8811035156, 12.500002861023, 0, 0, 180.75, "Truck" ), truckerid ) setElementDimension ( getElementByID ( truckerid ), dim ) setElementDimension ( thePlayer, dim ) warpPedIntoVehicle ( thePlayer, getElementByID ( truckerid ), 0 ) if ( finish == 1 ) then setElementID ( createMarker ( 2293.8217773438, 91.259262084961, 26.3359375, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( 2293.8217773438, 91.259262084961, 26.3359375, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) elseif ( finish == 2 ) then setElementID ( createMarker ( 365.3349609375, 2541.84765625, 16.598960876465, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( 365.3349609375, 2541.84765625, 16.598960876465, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) elseif ( finish == 3 ) then setElementID ( createMarker ( -2264.2666015625, 2304.548828125, 5.5566072463989, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( -2264.2666015625, 2304.548828125, 5.5566072463989, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) end setElementDimension ( getElementByID ( "blip" .. tostring ( dim ) ), dim ) setElementData ( thePlayer, "onTruck", 1 ) outputChatBox ( "Deliver a charge from the destination!", thePlayer ) setVehicleEngineState ( getElementByID ( truckerid ), true ) else outputChatBox ( "You are not truck drivers!", thePlayer ) end end end addCommandHandler ( "truckerstart", truckerStart ) function finishTrucker ( hitPlayer, matchingDimension ) if ( source == getElementByID ( "Finish" .. tostring ( getElementDimension ( hitPlayer ) ) ) ) then if ( getElementData ( hitPlayer, "onTruck" ) == 1 ) then outputChatBox ( "We have earned $ 500 to deliver the payload successfully", hitPlayer ) removePedFromVehicle ( hitPlayer ) destroyElement ( source ) destroyElement ( getElementByID ( "blip" .. tostring ( getElementDimension ( hitPlayer ) ) ) ) givePlayerMoney ( hitPlayer, 3000 ) setElementData ( hitPlayer, "onTruck", 0 ) setElementDimension ( hitPlayer, 0 ) setElementPosition ( hitPlayer, 2361.109375, 2778.4375, 10.8203125 ) setPedRotation ( hitPlayer, 90 ) end end end addEventHandler ( "onMarkerHit", getRootElement(), finishTrucker ) function truckerjobhelp ( hitPlayer, matchingDimension ) local playeraccount = getPlayerAccount ( hitPlayer ) local playerjob = getAccountData ( playeraccount, "job" ) if ( playerjob == 3 ) then outputChatBox ( "Tip /truckerstart to get a job!", hitPlayer ) elseif ( playerjob == 0 ) then outputChatBox ( "Type / job to work as truck drivers!", hitPlayer ) else outputChatBox ( "You already have another job!", hitPlayer ) end end addEventHandler ( "onColShapeHit", truckercolsphere, truckerjobhelp ) function truckerfahrer(player,command) local playeraccount = getPlayerAccount( player ) if getAccountData ( playeraccount, "job" ) ~= 0 then outputChatBox("Du hast bereits einen Job!", player, 255,0,0) else if ( isElementWithinColShape ( player, truckercolsphere ) ) then if ( getAccountData ( playeraccount, "lica" ) == 1 ) then setAccountData(playeraccount, "job", 3) outputChatBox("You are now truck drivers", player,0,255,0) else outputChatBox("You need Class A License", player, 255, 0, 0 ) end end end end addCommandHandler("job", truckerfahrer) function onTruckCancelExit ( thePlayer ) if ( getElementData ( thePlayer, "onTruck" ) ~= false ) then if ( getElementData ( thePlayer, "onTruck" ) == 1 ) then cancelEvent() outputChatBox ( "You can not leave the truck so easy!", thePlayer ) end end end addEventHandler ( "onVehicleStartExit", getRootElement(), onTruckCancelExit ) like this and naw wher is the others errors plz prestege teel me i m need to finish this pzl bro
-
hi guys i m make this script for rpg server the palyer can have the truker job and make money withe it but when i test the mod is not woork idk why this is the lua any help ??? truckercolsphere = createColSphere ( 2360.6616210938, 2774.1604003906, 9.8703269958496, 5 ) truckerjobmarker = createMarker ( 2360.6616210938, 2774.1604003906, 9.8703269958496, "cylinder", 2, 0, 0, 255 ) createBlip ( 2360.6616210938, 2774.1604003906, 9.8703269958496, 51 ) function truckerStart ( thePlayer ) if ( player ) then local dim = math.random ( 1, 50000 ) local finish = math.random ( 1, 3 ) local truckerid = "Trucker" .. tostring ( dim ) local finishid = "Finish" .. tostring ( dim ) setElementData ( thePlayer, "TruckID", tostring ( dim ) ) setElementID ( createVehicle ( 515, 2367.9216308594, 2754.8811035156, 12.500002861023, 0, 0, 180.75, "Truck" ), truckerid ) setElementDimension ( getElementByID ( truckerid ), dim ) setElementDimension ( thePlayer, dim ) warpPedIntoVehicle ( thePlayer, getElementByID ( truckerid ), 0 ) if ( finish == 1 ) then setElementID ( createMarker ( 2293.8217773438, 91.259262084961, 26.3359375, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( 2293.8217773438, 91.259262084961, 26.3359375, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) elseif ( finish == 2 ) then setElementID ( createMarker ( 365.3349609375, 2541.84765625, 16.598960876465, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( 365.3349609375, 2541.84765625, 16.598960876465, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) elseif ( finish == 3 ) then setElementID ( createMarker ( -2264.2666015625, 2304.548828125, 5.5566072463989, "checkpoint", 10, 255, 0, 0, 255, thePlayer ), finishid ) setElementDimension ( getElementByID ( finishid ), dim ) setElementID ( createBlip ( -2264.2666015625, 2304.548828125, 5.5566072463989, 19, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ), "blip" .. tostring ( dim ) ) end setElementDimension ( getElementByID ( "blip" .. tostring ( dim ) ), dim ) setElementData ( thePlayer, "onTruck", 1 ) outputChatBox ( "Deliver a charge from the destination!", thePlayer ) setVehicleEngineState ( getElementByID ( truckerid ), true ) else outputChatBox ( "You are not truck drivers!", thePlayer ) end end end addCommandHandler ( "truckerstart", truckerStart ) function finishTrucker ( hitPlayer, matchingDimension ) if ( source == getElementByID ( "Finish" .. tostring ( getElementDimension ( hitPlayer ) ) ) ) then if ( getElementData ( hitPlayer, "onTruck" ) == 1 ) then outputChatBox ( "We have earned $ 500 to deliver the payload successfully", hitPlayer ) removePedFromVehicle ( hitPlayer ) destroyElement ( source ) destroyElement ( getElementByID ( "blip" .. tostring ( getElementDimension ( hitPlayer ) ) ) ) givePlayerMoney ( hitPlayer, 3000 ) setElementData ( hitPlayer, "onTruck", 0 ) setElementDimension ( hitPlayer, 0 ) setElementPosition ( hitPlayer, 2361.109375, 2778.4375, 10.8203125 ) setPedRotation ( hitPlayer, 90 ) end end end addEventHandler ( "onMarkerHit", getRootElement(), finishTrucker ) function truckerjobhelp ( hitPlayer, matchingDimension ) local playeraccount = getPlayerAccount ( hitPlayer ) local playerjob = getAccountData ( playeraccount, "job" ) if ( playerjob == 3 ) then outputChatBox ( "Tip /truckerstart to get a job!", hitPlayer ) elseif ( playerjob == 0 ) then outputChatBox ( "Type / job to work as truck drivers!", hitPlayer ) else outputChatBox ( "You already have another job!", hitPlayer ) end end addEventHandler ( "onColShapeHit", truckercolsphere, truckerjobhelp ) function truckerfahrer(player,command) local playeraccount = getPlayerAccount( player ) if getAccountData ( playeraccount, "job" ) ~= 0 then outputChatBox("Du hast bereits einen Job!", player, 255,0,0) else if ( isElementWithinColShape ( player, truckercolsphere ) ) then if ( getAccountData ( playeraccount, "lica" ) == 1 ) then setAccountData(playeraccount, "job", 3) outputChatBox("You are now truck drivers", player,0,255,0) else outputChatBox("You need Class A License", player, 255, 0, 0 ) end end end end addCommandHandler("job", truckerfahrer) function onTruckCancelExit ( thePlayer ) if ( getElementData ( thePlayer, "onTruck" ) ~= false ) then if ( getElementData ( thePlayer, "onTruck" ) == 1 ) then cancelEvent() outputChatBox ( "You can not leave the truck so easy!", thePlayer ) end end end addEventHandler ( "onVehicleStartExit", getRootElement(), onTruckCancelExit ) i hop you will help me and thx
-
ye and can sammone give me the corctly lua code plz this is my proplem
-
hi ) i was make a bank system for my server and he woork but when i disied to make the script work withe press key the window is work but hte botton no this is the lua wher is the proplem plz any help local screenwidth, screenheight = guiGetScreenSize () local posw, posh = 324, 262 BankSys_TabPanel = {} BankSys_Tab = {} BankSys_Label = {} bankwindow = guiCreateWindow(screenwidth/2-posw/2,screenheight/2-posh/2,324,262,"BANK SYSTEM",false) BankSys_Label[1] = guiCreateLabel(10,25,301,16,"was creat by Mr.Co00oL ",false,bankwindow) guiLabelSetColor(BankSys_Label[1],0,0,255) guiLabelSetVerticalAlign(BankSys_Label[1],"top") guiLabelSetHorizontalAlign(BankSys_Label[1],"left",false) guiSetFont(BankSys_Label[1],"default-bold-small") BankSys_TabPanel[1] = guiCreateTabPanel(10,95,301,111,false,bankwindow) BankSys_Tab[1] = guiCreateTab("Deposit / Cash Out",BankSys_TabPanel[1]) btnDeposit = guiCreateButton(70,20,141,23,"deposit amount",false,BankSys_Tab[1]) btnWithdraw = guiCreateButton(70,50,141,23,"pay off amount",false,BankSys_Tab[1]) BankSys_Tab[2] = guiCreateTab("about ways",BankSys_TabPanel[1]) BankSys_Label[2] = guiCreateLabel(10,10,131,21,"send to",false,BankSys_Tab[2]) guiLabelSetColor(BankSys_Label[2],255,255,255) guiLabelSetVerticalAlign(BankSys_Label[2],"top") guiLabelSetHorizontalAlign(BankSys_Label[2],"left",false) editTransfer = guiCreateEdit(150,10,131,21,"",false,BankSys_Tab[2]) btnTransfer = guiCreateButton(70,50,141,23,"Be remitted amount",false,BankSys_Tab[2]) BankSys_Label[3] = guiCreateLabel(10,55,81,21,"amount",false,bankwindow) guiLabelSetColor(BankSys_Label[3],255,255,255) guiLabelSetVerticalAlign(BankSys_Label[3],"top") guiLabelSetHorizontalAlign(BankSys_Label[3],"left",false) editBetrag = guiCreateEdit(70,55,113,21,"0",false,bankwindow) BankSys_Label[4] = guiCreateLabel(190,55,46,21,"$",false,bankwindow) guiLabelSetColor(BankSys_Label[4],255,255,255) guiLabelSetVerticalAlign(BankSys_Label[4],"top") guiLabelSetHorizontalAlign(BankSys_Label[4],"left",false) btnBalance = guiCreateButton(10,215,141,23,"balances acconte",false,bankwindow) btnCloseBank = guiCreateButton(230,215,75,23,"close",false,bankwindow) function round(num, idp) local mult = 10^(idp or 0) return math.floor(num * mult + 0.5) / mult end addEventHandler( "onClientResourceStart", getRootElement( ), function ( ) guiSetVisible(bankwindow, false) end ); guiSetVisible (bankwindow, false) function OpenWin() if guiGetVisible ( bankwindow ) then guiSetVisible ( bankwindow, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( bankwindow, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) function btnCloseBankFunc ( button, state ) if button == "left" and state == "up" then guiSetInputEnabled ( false ) guiSetVisible ( bankwindow, false ) showCursor ( false ) end end function btnDepositFunc ( button, state ) if button == "left" and state == "up" then local bsUser = getLocalPlayer() local bsBetrag = round ( tonumber ( guiGetText ( editBetrag ) ), 0 ) triggerServerEvent ( "doBSDeposit", getLocalPlayer(), bsUser, bsBetrag ) end end function btnWithdrawFunc ( button, state ) if button == "left" and state == "up" then local bsUser = getLocalPlayer() local bsBetrag = round ( tonumber ( guiGetText ( editBetrag ) ), 0 ) triggerServerEvent ( "doBSWithdraw", getLocalPlayer(), bsUser, bsBetrag ) end end function btnTransferFunc ( button, state ) if button == "left" and state == "up" then local bsUser = getLocalPlayer() local bsTarget = guiGetText ( editTransfer ) local bsBetrag = round ( tonumber ( guiGetText ( editBetrag ) ), 0 ) triggerServerEvent ( "doBSTransfer", getLocalPlayer(), bsUser, bsTarget, bsBetrag ) end end function btnBalanceFunc ( button, state ) if button == "left" and state == "up" then local bsUser = getLocalPlayer() triggerServerEvent ( "doBSBalance", getLocalPlayer(), bsUser ) end end ) PLZ help
-
idk the script is not woork
-
hi this is the skin panel v.3 but idk why is not woork plz any help where is the problem : GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Image = {} outputChatBox("= #f9Ff60***Skin_Panel by #FFaa66 Mr.Co00oL #006699 Press F7 To Open it*** =",0,255,0,true) GUIEditor_Window[1] = guiCreateWindow(120,39,503,519,"~~~~Skins panel by Mr.Co00oL~~~~",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(26,114,462,387,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Specials skins",GUIEditor_TabPanel[1]) gg = guiCreateButton(157,158,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(gg,"sa-header") guiSetProperty(gg,"NormalTextColour", "FFFFFF00") GUIEditor_Label[1] = guiCreateLabel(170,129,109,33,"The Joker",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[1],"sa-header") th1 = guiCreateButton(309,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th1,"sa-header") GUIEditor_Label[2] = guiCreateLabel(311,298,150,33,"Arbic skin",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[2],"sa-header") guiSetProperty(th1,"NormalTextColour", "FFFFFF00") th2 = guiCreateButton(13,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th2,"sa-header") GUIEditor_Label[3] = guiCreateLabel(23,299,150,33,"C RonaLDo",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[3],"sa-header") guiSetProperty(th2,"NormalTextColour", "FFFFFF00") GUIEditor_Tab[2] = guiCreateTab("HaLLOWEEN skins",GUIEditor_TabPanel[1]) s1 = guiCreateButton(guiCreateButton(161,158,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s1,"sa-header") guiSetProperty(s1,"NormalTextColour", "FFFFFF00") GUIEditor_Label[5] = guiCreateLabel(329,295,127,30,"Scarecrow",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[5],255,0,0) guiSetFont(GUIEditor_Label[5],"sa-header") s2 = guiCreateButton(9,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s2,"sa-header") guiSetProperty(s2,"NormalTextColour", "FF00FF00") guiCreateLabel(36,293,127,30,"Scream",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[4],255,0,0) guiSetFont(GUIEditor_Label[4],"sa-header") s = guiCreateButton(313,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s,"sa-header") GUIEditor_Label[7] = guiCreateLabel(165,126,127,30,"SqueLLte",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[7],255,0,0) guiSetFont(GUIEditor_Label[7],"sa-header") guiSetProperty(s,"NormalTextColour", "FF00FF00") GUIEditor_Tab[3] = guiCreateTab("funny Skins",GUIEditor_TabPanel[1]) l = guiCreateButton(157,158,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(l,"sa-header") GUIEditor_Label[8] = guiCreateLabel(170,124,123,32,"Mr.Bean",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[8],255,255,0) guiSetFont(GUIEditor_Label[8],"sa-header") guiSetProperty(l,"NormalTextColour", "FF00FF00") i = guiCreateButton(11,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(i,"sa-header") GUIEditor_Label[9] = guiCreateLabel(24,291,123,32,"GoFFey",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[9],255,255,0) guiSetFont(GUIEditor_Label[9],"sa-header") guiSetProperty(i,"NormalTextColour", "FF00FF00") sp = GUIEditor_Button[11] = guiCreateButton(305,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(sp,"sa-header") GUIEditor_Label[10] = guiCreateLabel(332,291,123,32,"q1",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[10],255,255,0) guiSetFont(GUIEditor_Label[10],"sa-header") guiSetProperty(sp,"NormalTextColour", "FF00FF00") GUIEditor_Tab[4] = guiCreateTab("Gangs Skins",GUIEditor_TabPanel[1]) cj = GUIEditor_Button[12] = guiCreateButton(146,148,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(cj,"sa-header") GUIEditor_Label[11] = guiCreateLabel(164,118,132,27,"BaLLas ",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[11],255,0,255) guiSetFont(GUIEditor_Label[11],"sa-header") guiSetProperty(cj,"NormalTextColour", "FF00FF00") r = guiCreateButton(5,323,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(r,"sa-header") GUIEditor_Label[12] = guiCreateLabel(4,290,148,35,"Grouver streat",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[12],255,255,0) guiSetFont(GUIEditor_Label[12],"sa-header") guiSetProperty(r,"NormalTextColour", "FF00FF00") h = guiCreateButton(302,318,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(h,"sa-header") GUIEditor_Label[13] = guiCreateLabel(336,286,78,33,"Vagos",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[13],255,255,0) guiSetFont(GUIEditor_Label[13],"sa-header") guiSetProperty(h,"NormalTextColour", "FF00FF00") GUIEditor_Tab[5] = guiCreateTab("Homeless",GUIEditor_TabPanel[1]) y = guiCreateButton(89,216,259,67,"Geat it",false,GUIEditor_Tab[5]) guiSetFont(y,"sa-gothic") guiSetProperty(y,"NormalTextColour", "FF00FF00") GUIEditor_Label[14] = guiCreateLabel(88,163,267,59,"special Homeless",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[14],255,0,255) guiSetFont(GUIEditor_Label[14],"sa-gothic") GUIEditor_Label[15] = guiCreateLabel(20,303,162,48,"skins panel By ",false,GUIEditor_Tab[5]) guiSetFont(GUIEditor_Label[15],"sa-header") GUIEditor_Checkbox[1] = guiCreateCheckBox(277,151,5,5,"",false,false,GUIEditor_Tab[5]) GUIEditor_Label[16] = guiCreateLabel(228,290,229,72,"Mr.Co00oL",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[16],255,0,0) guiSetFont(GUIEditor_Label[16],"sa-gothic") GUIEditor_Label[17] = guiCreateLabel(72,-103,267,61,"",false,GUIEditor_Tab[5]) GUIEditor_Label[18] = guiCreateLabel(147,42,228,58,"Skins panel",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[18],255,255,255,0) guiSetFont(GUIEditor_Label[18],"sa-gothic") function refreshStats() if guiGetVisible(GUIEditor_Window[1],true) then else guiSetText(GUIEditor_Label[2],"your skin :"..getPedSkin(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetVisible (GUIEditor_Window[1], false) function OpenWin() if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor(true) guiSetInputEnabled(true) playSound("1.wav") end end bindKey("F7", "down", OpenWin) function onGuiClick (button, state, absoluteX, absoluteY) if (source == gg) then triggerServerEvent ("gg", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) --------------------------------------------- function onGuiClick (button, state, absoluteX, absoluteY) if (source == th1) then triggerServerEvent ("th1", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) --------------------------------------------- function onGuiClick (button, state, absoluteX, absoluteY) if (source == th2) then triggerServerEvent ("th2", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s1) then triggerServerEvent ("s1", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s2) then triggerServerEvent ("s2", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == sp) then triggerServerEvent ("sp", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s) then triggerServerEvent ("s", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == l) then triggerServerEvent ("l", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == i) then triggerServerEvent ("i", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == cj) then triggerServerEvent ("cj", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == r) then triggerServerEvent ("r", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == h) then triggerServerEvent ("h", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
-
Lol, you doesn't know what is lua, Just learn scripting here https://wiki.multitheftauto.com/wiki/Main_Page and if you still have problem then go to your language section and ask help there because we can't understand your grammar.
-
men this is true i m noob in script and i dont understand how to fix the script can you give me the correct cod plz to fix the script i want the script save the gang turf and spawn the gang who capiter gang in the turf plz any help i m new her and i m nob in scripting
-
plz can you make the player spawn withe weapons plz and save skin
-
i want the player his gang who capiter will respawn in the turfe and the script save the gang turf becouse the script dont show the gang who capiter in the information plz any idea local pArea = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) local pArea2 = createRadarArea( 2488.8793945313, 680.78289794922, 250, 130, 255, 255, 255, 125 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) local pCuboid2 = createColCuboid( 2486.5935058594, 678.20172119141, 9.5689830780029, 245, 133, 30 ) local pArea3 = createRadarArea( 1858, 623, 140, 165, 255, 255, 255, 125 ) local pCuboid3 = createColCuboid( 1856.2864990234, 627.07629394531, 9, 138.25, 152.75, 30 ) local pArea4 = createRadarArea( 1577, 663, 180, 130, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 1576.8956298828, 662.84362792969, 9.671875, 181, 120.5, 30 ) local pArea4 = createRadarArea( 2778, 834, 110, 190, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 2777.4248046875, 833.88018798828, 9.6484375, 113.5, 188, 30 ) addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Turf system by Enjoy ( manve ) |~| Has been turned on!") -- Please don't remove this =) end ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) if isTimer( pArea1Timer ) then killTimer( pArea1Timer ) end end end ) ----------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid2 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea2, true ) local pTeam2 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam2 ) pArea2Timer = setTimer( function() setRadarAreaColor (pArea2, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea2, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid2 ) then setRadarAreaFlashing( pArea2, false ) if isTimer( pArea2Timer ) then killTimer( pArea2Timer ) end end end ) ------------------------------------ addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid3 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea3, true ) local pTeam3 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam3 ) pArea3Timer = setTimer( function() setRadarAreaColor (pArea3, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea3, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid3 ) then setRadarAreaFlashing( pArea3, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) ------------------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid4 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea4, true ) local pTeam4 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam4 ) pArea4Timer = setTimer( function() setRadarAreaColor (pArea4, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea4, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid4 ) then setRadarAreaFlashing( pArea4, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) setElementPosition getPlayerTeam addEventHandler ( "onPlayerWasted" ... )
-
no this is not my script but i want make it like that for add to my server you know how to make that ? and soory for bad english
-
hi all pro scripter plz plz i need healp in this script is called "turfe" i want make this scripte when the player is deaths and he have turfe he and hs gang wll spawn in the turfe plz any healp addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Turf system by Enjoy ( manve ) |~| Has been turned on!") -- Please don't remove this =) end ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then outputChatBox("------||~ INFO ~||------", N, 0,255,0) outputChatBox("Turf owners: coming soon!", N, 255,255,0) outputChatBox("Taken time: 10minutes.", N, 255,255,0) outputChatBox("Wait 10min to take turf.", N, 255,255,0) outputChatBox("------||prees "N"to start capiter||------", N, 255,0,0) setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'N', the player arg local iR, iG, iB = getTeamColor( pTeam ) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", N, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",N, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) if isTimer( pArea1Timer ) then killTimer( pArea1Timer ) end end end ) ----------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid2 ) then outputChatBox("------||~ INFO ~||------", N, 0,255,0) outputChatBox("Turf owners: coming soon!", N, 255,255,0) outputChatBox("Taken time: 10minutes.", N, 255,255,0) outputChatBox("Wait 10min to take turf.", N, 255,255,0) outputChatBox("------||prees "N"to start capiter||------", N, 255,0,0) setRadarAreaFlashing( pArea2, true ) local pTeam2 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam2 ) pArea2Timer = setTimer( function() setRadarAreaColor (pArea2, iR2, iG2, iB2, 100); givePlayerMoney( N, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", N, 0, 255, 0, true ); setRadarAreaFlashing( pArea2, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",N, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid2 ) then setRadarAreaFlashing( pArea2, false ) if isTimer( pArea2Timer ) then killTimer( pArea2Timer ) end end end ) ------------------------------------ addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid3 ) then outputChatBox("------||~ INFO ~||------", N, 0,255,0) outputChatBox("Turf owners: coming soon!", N, 255,255,0) outputChatBox("Taken time: 10minutes.", N, 255,255,0) outputChatBox("Wait 10min to take turf.", N, 255,255,0) outputChatBox("------||prees "N"to start capiter||------", N, 255,0,0) setRadarAreaFlashing( pArea3, true ) local pTeam3 = getPlayerTeam( p ) -- source is the col shape, you should use 'N', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam3 ) pArea3Timer = setTimer( function() setRadarAreaColor (pArea3, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", N, 0, 255, 0, true ); setRadarAreaFlashing( pArea3, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",N, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid3 ) then setRadarAreaFlashing( pArea3, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) ------------------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid4 ) then outputChatBox("------||~ INFO ~||------", N, 0,255,0) outputChatBox("Turf owners: coming soon!", N, 255,255,0) outputChatBox("Taken time: 10minutes.", N, 255,255,0) outputChatBox("Wait 10min to take turf.", N, 255,255,0) outputChatBox("------||prees "N"to start capiter||------", N, 255,0,0) setRadarAreaFlashing( pArea4, true ) local pTeam4 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam4 ) pArea4Timer = setTimer( function() setRadarAreaColor (pArea4, iR2, iG2, iB2, 100); givePlayerMoney( N, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", N, 0, 255, 0, true ); setRadarAreaFlashing( pArea4, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid4 ) then setRadarAreaFlashing( pArea4, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) this is the script how i can mack it ?
-
plz can you help me in a script this is the scrip https://community.multitheftauto.com/index.php?p= ... ls&id=1152 but the proplem is in this script the player must chose his classe evry time he death plz if you cant can you make the player shoose his classe onley one time and if he want to change he add command can you do it ? and soory for bad english
-
i was saying i have 2 mods but they are Encrypted and need meta.xml filles can somme one know how to fix the problem and mack the mods woork
-
hello guys i m new here and i have question the mod when i Recorded in the server introduced by Why not work they save in C:\Program Files\MTA San Andreas 1.3\mods\deathmatch\resources i think becouse they need meta.xml and i get 2 best mods ever but they dont woork can somme mon help me plz
-
in this script there are a proplem when the player is died the mode will restart and the player shose again plz i want make the script shoose only one time and when he add commande /change he will change plz any healp plz plz plz