- 
                Posts216
- 
                Joined
- 
                Last visited
Everything posted by Gallagher
- 
	Thank you, you were a great help in creating my panel, I'll even put your name in the credits
- 
	The way you spoke before had worked: D Thanks Another question now, it is possible to attach the Marker in a player? example, I type / markerme, and the bullet is stuck in me, and if any come near me opens the panel?
- 
	how do I open my dashboard when a player touches the marker? function PlayerHaveLevel( ) local accName = getAccountName ( getPlayerAccount ( source ) ) if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then triggerClientEvent(source, "ShowVipPanel", source ) else outputChatBox("Você não e V.I.P para usar esse comando",source) end end addEvent( "ClientHaveLevel", true ) addEventHandler( "ClientHaveLevel", getRootElement(), PlayerHaveLevel ) addEventHandler("onMarkerHit",marker16,PlayerHaveLevel) marker16 = createMarker(-62.98583984375,-1121.4749755859,0.172990322113, "cylinder", 2, 0, 255, 0, 255 ) blip = createBlip( -62.98583984375,-1121.4749755859,0.172990322113, 6 )
- 
	is possible slapping a marker on a player? If the player mecher the marker move along?
- 
	addEventHandler('onClientResourceStart',getResourceRootElement(getThisResource()),function () txd = engineLoadTXD ( 'bobcat.txd' ) engineImportTXD ( txd, 422 ) dff = engineLoadDFF('bobcat.dff', 422) engineReplaceModel ( dff, 422 ) end) https://wiki.multitheftauto.com/wiki/EngineReplaceModel
- 
	i fix . thanks for your help
- 
	Value adding this function, and if the player does not have enough money to buy that message appear? [sHOP] You do not have enough money to buy! function sniper () setElementData(source, "CZ 550", 1) setElementData(source, "CZ 550 Mag", 120) setElementData(source, "Hunting Knife", 1) end addEvent( "onGreeting4", true ) addEventHandler( "onGreeting4", getRootElement(), sniper )
- 
	you tested? Appeared 4 tabs?
- 
	I do not know if you know, but this feature causes lag
- 
	you want to turn on the flashlight?
- 
	what error? Just this appearing tabpanel.kit "kit aa", because the other tab does not appear my code function vip() triggerServerEvent ( "ClientHaveLevel", getLocalPlayer() ) end addCommandHandler ("vip", vip) addEventHandler ( "onClientPlayerSpawn", getLocalPlayer(), vip ) function armavip () showCursor (true) triggerServerEvent ( "onGreeting", getLocalPlayer() ) end function armavipsniper () showCursor (true) triggerServerEvent ( "onGreeting4", getLocalPlayer() ) end function equipvip () showCursor (true) triggerServerEvent ( "onGreeting2", getLocalPlayer() ) end function equipvipchezh () showCursor (true) triggerServerEvent ( "onGreeting5", getLocalPlayer() ) end function carr () showCursor (true) triggerServerEvent ( "onGreeting3", getLocalPlayer() ) end function tire () showCursor (true) triggerServerEvent ( "onGreeting6", getLocalPlayer() ) end local tabpanel = {} function vip2() window = guiCreateWindow(0.29, 0.18, 0.46, 0.68, "", true) guiWindowSetSizable(window, false) showCursor ( true ) logo = guiCreateStaticImage(0.06, 0.83, 0.90, 0.13, "images/radio.png", true,window) close = guiCreateButton(430, 26, 25, 25, "X", false,window) guiSetFont(close, "default-bold-small") guiSetProperty(close, "NormalTextColour", "FF960000") tabpanel.mytab = guiCreateTabPanel(0.10, 0.09, 0.80, 0.69, true,window) tabpanel.kit = guiCreateTab("KIT aa",tabpanel.mytab) fundoarmas = guiCreateStaticImage(-26, -37, 427, 403, "images/FUNDO.png", false, tabpanel.kit) guiSetProperty(fundoarmas, "ImageColours", "tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000") label1 = guiCreateLabel(0.24, 0.32, 0.16, 0.09, " M4A1 \n 50 z$", true,fundoarmas) guiSetFont(label1, "default-bold-small") imgm4 = guiCreateStaticImage(0.11, 0.14, 0.31, 0.15, "images/m4a1.png", true,fundoarmas) label2 = guiCreateLabel(0.71, 0.32, 0.16, 0.09, " CZ550 \n 90 z$", true,fundoarmas) guiSetFont(label2, "default-bold-small") img.sniper = guiCreateStaticImage(0.59, 0.14, 0.33, 0.15, "images/sniper.png", true,fundoarmas) ---------------------- tabpanel.itens = guiCreateTab("KIT ITENS",tabpanel.mytab) fundoitens = guiCreateStaticImage(-31, -14, 447, 365, "images/FUNDO.png", false, tabpanel.itens) guiSetProperty(fundoitens, "ImageColours", "tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000") img.coyote = guiCreateStaticImage(0.13, 0.12, 0.26, 0.28, "images/coyote.png", true, fundoitens) img.chezh = guiCreateStaticImage(0.63, 0.12, 0.26, 0.30, "images/chezh.png", true, fundoitens) label.coyote = guiCreateLabel(0.22, 0.43, 0.22, 0.10, "COYOTE \n 60Z$", true, fundoitens) guiSetFont(label.coyote, "default-bold-small") label.chezh = guiCreateLabel(0.71, 0.43, 0.22, 0.10, "CHEZH\n 60Z$", true, fundoitens) guiSetFont(label.chezh, "default-bold-small") tab.mecanico = guiCreateTab("KIT MECÂNICO",tab) fundo.mecanico = guiCreateStaticImage(-7, -7, 393, 352, "images/FUNDO.png", false, tab.mecanico) guiSetProperty(fundo.mecanico, "ImageColours", "tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000") img.engine = guiCreateStaticImage(0.11, 0.14, 0.27, 0.29, "images/engine.png", true, fundo.mecanico) img.tire = guiCreateStaticImage(0.63, 0.14, 0.25, 0.30, "images/wheel.png", true, fundo.mecanico) label.engine = guiCreateLabel(0.20, 0.45, 0.25, 0.12, "ENGINE \n 31 Z$", true, fundo.mecanico) guiSetFont(label.engine, "default-bold-small") label.tire = guiCreateLabel(0.71, 0.45, 0.25, 0.12, "TIRE \n31 Z$", true, fundo.mecanico) guiSetFont(label.tire, "default-bold-small") tab.survivor = guiCreateTab("CREDITOS",tab) fundo.creditos = guiCreateStaticImage(-18, -14, 408, 358, "images/FUNDO.png", false, tab.survivor) guiSetProperty(fundo.creditos, "ImageColours", "tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000") texto.creditos = guiCreateMemo(0.14, 0.23, 0.76, 0.53, "--xD", true, fundo.creditos) guiMemoSetReadOnly(texto.creditos, true) addEvent( "showvip",true ) addEventHandler ( "onClientGUIClick", imgm4, armavip, false ) addEventHandler ( "onClientGUIClick", img.sniper, armavipsniper, false ) addEventHandler ( "onClientGUIClick", img.coyote, equipvip, false ) addEventHandler ( "onClientGUIClick", img.chezh, equipvipchezh, false ) addEventHandler ( "onClientGUIClick", img.engine, carr, false ) addEventHandler ( "onClientGUIClick", img.tire, tire, false ) playSound("button.mp3") addEventHandler ( "onClientGUIClick", close, function() guiSetVisible(window, false) showCursor(false) end, false ) end addEvent( "ShowVipPanel", true ) addEventHandler( "ShowVipPanel", getRootElement(), vip2)
- 
	https://community.multitheftauto.com/ind ... ls&id=4004
- 
	you talking about this? https://community.multitheftauto.com/ind ... ls&id=8474 local x,y,z = 2152,-1684,16.1 local MoneyMarker = createMarker(x,y,z-2,"cylinder", 5, 139, 0, 285,77) local MoneyBlip = createBlipAttachedTo(MoneyMarker,56) function Check(thePlayer) if isElementWithinMarker(thePlayer, MoneyMarker) then timer = setTimer ( function() givePlayerMoney(thePlayer,1) end , 1000, 0) end end addEventHandler("onMarkerHit",MoneyMarker,Check) function Stop(thePlayer) killTimer(timer) end addEventHandler("onMarkerLeave",MoneyMarker,Stop)
- 
	Tested? killer is dayz ?
- 
	and zoom the sniper is possible? And the distance we see the players!
- 
	how to increase the visibility of objects in mta? objects, which are replacing the map of gta station disappearing when I move away
- 
	did not work as I expected, I mean, spawn with the skins 73, 75,76 or 285 for i, data in ipairs(playerDataTable) do if data[1] == "skin" then setElementModel(localPlayer, 73) end end end addEvent("sex",true) addEventHandler("sex",root,sexo) ----------------------------------------------------------------------- ----------------------------------------------------------------------- -- Se não manja nem mexe aqui \/ function playersexo() showCursor(false) destroyElement(wal) destroyElement(fundo) destroyElement(mulher) destroyElement(home) if(source ~= mulher) then setElementModel(localPlayer, 73) for i, data in ipairs(playerDataTable) do if data[1] == "skin" then setElementData(localPlayer, data[1], 73) -- "73" ID da sua skin homem. end end end
- 
	how can I make the player spawn each time with a skin? the default is spawn with skin id 73, how to make it spawn with 73, 75, or 76? function spawnDayZPlayer(player) triggerClientEvent(player, "sex", player) local number = math.random(table.size(spawnPositions)) local x,y,z = spawnPositions[number][1],spawnPositions[number][2],spawnPositions[number][3] spawnPlayer (player, x,y,z+0.5, math.random(0,360), 73, 0, 0) fadeCamera (player, true)
- 
	Look checkGateMarker = createMarker ( 216.22926330566, 1875.0806884766, 7.4616560935974, "corona", 10.0, 0, 0, 255, 0 ) function onPoliceShapeHit ( thePlayer, matchingDimension ) if ( getElementType ( thePlayer ) == "player" ) then outputChatBox ( "You have entered Police Base zone!", thePlayer, 0, 0, 255 ) end end addEventHandler ( "onColShapeHit", policeColShape, onPoliceShapeHit ) function createGate () gatePolice = createObject ( 976, 209.8828125, 1875.8419189453, 12.372331619263 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createGate ) function gateCheckingTeam ( thePlayer, matchingDimension ) moveObject ( gatePolice, 976, 218.11740112305, 1875.3406982422, 12.372331619263 ) end addEventHandler ( "onMarkerHit", checkGateMarker, gateCheckingTeam ) function onLeave ( thePlayer, matchingDimension ) setTimer ( movingBackPolice, 3000, 1, thePlayer ) end addEventHandler ( "onMarkerLeave", checkGateMarker, onLeave ) function movingBackPolice () moveObject ( gatePolice, 3000, 209.8828125, 1875.8419189453, 12.372331619263 ) end https://community.multitheftauto.com/ind ... ls&id=2060

 
        