-
Posts
151 -
Joined
-
Last visited
Everything posted by Death
-
My script was stolen and not put our creditos https://community.multitheftauto.com/ind ... ls&id=7557 Link my script in the forum viewtopic.php?f=152&t=59557 DONE
-
Cara para de roubar meus scripts pow coloca pelo menos os creditos Meu do mamydawn do Miller e do DNL
-
Esta mais eu fiz um codigo um pouco diferente e funcionou
-
Congratulations MTA Team
-
Thanks Can Lock got the Topic
-
Esse é o codigo inteiro E n aparece erros no debug '-'
-
Pois bem este script era pra tirar da arena o jogador que matar outro jogador Porem não funciona Detalhes adicionais a arena fica na dimensão 3 se alguem puder me ajudar agradecerei muito local hillArea = createColRectangle( 181.21028137207, -2618.5231933594, 500, 700 ) local hillRadar = createRadarArea( 181.21028137207, -2618.5231933594, 500, -700, 0, 255, 0, 175 ) function hill_Enter( thePlayer, matchingDimension ) if getElementType( thePlayer ) == "player" then setRadarAreaFlashing( hillRadar, true ) end end addEventHandler( "onColShapeHit", hillArea, hill_Enter ) function test( _, killer ) -- if getElementDimension( source ) == 3 then if isElementWithinColShape( source, hillArea ) then if killer then local killerPerson = getPlayerName( killer ) setElementDimension( killer, 0 ) setElementInterior( killer,0, 1522.5754394531, -2549.7287597656, 13.546875 ) outputChatBox( '[server]' ..killerPerson.. ' Foi kickado da arenaz por Matar Jogadores !!!', root, 0, 255, 255, true ) end end end --end addEventHandler( "onPlayerWasted", root, test )
-
put the code of the script here so we can help
-
what I mean is that I want to withdraw the player to kill another player the Arena
-
This script is to play the player to kill another player in coordinated test more he plays pro killer was to be deducted from my arena and be played at the airport in san fierro Only my arena is the dimension 3 and killer would have to be played in dimension 0 Someone please help me thank you And sorry for my bad english local hillArea = createColRectangle( 181.21028137207, -2618.5231933594, 500, 700 ) local hillRadar = createRadarArea( 181.21028137207, -2618.5231933594, 500, -700, 0, 255, 0, 175 ) function hill_Enter( thePlayer, matchingDimension ) if getElementType( thePlayer ) == "player" then setRadarAreaFlashing( hillRadar, true ) end end addEventHandler( "onColShapeHit", hillArea, hill_Enter ) function test( _, killer ) if getElementDimension( source ) == 0 then if isElementWithinColShape( source, hillArea ) then if killer and killer == source then local killerPerson = getPlayerName( killer ) setElementDimension( killer, 0 ) setElementPosition( killer, 1522.5754394531, -2549.7287597656, 13.546875 ) outputChatBox( '[server]' ..killerPerson.. ' Foi kickado da arenaz por Matar Jogadores !!!', root, 0, 255, 255, true ) end end end end addEventHandler( "onPlayerWasted", root, test )
-
thank you got more done in a different way
-
spawn in the other map the script ends up killing all players
-
when the player was to grab a map hunter after 1 minute all players die map The problem is that the next map all players die in spawn. -.
-
This script is giving error in the next map in the beginning of the next map that u took hunter he kills some players addEvent( "onPlayerPickUpRacePickup", true ) addEventHandler( "onPlayerPickUpRacePickup", root, function( number, sort, model ) if sort == "vehiclechange" then if model == 425 then outputChatBox( getPlayerName( source ).." #FFFFFFPegou Hunter", root, 255, 255, 255, true ) setTimer( killPed, 60000, 1, root ) end end end )
-
[Informações] Podem me dar um empurrão?
Death replied to Ichigo_Kurosaki's topic in Programação em Lua
tente isso local object = createObject(987,1592.4000244141,-1638.4200439453,12.5,0,0,180) function abrirportao() moveObject(object,5000,1592.4000244141,-1638.4200439453,6) outputChatBox("#FF8400[info]#FFFFFFPortão PM Aberto.", thePlayer, 255, 255, 255, true) end addCommandHandler("abrirpm2", abrirportao) function fecharPortao() moveObject(object,5000,1592.4000244141,-1638.4200439453,12.5) outputChatBox("#FF8400[info]#FFFFFFPortão da PM Fechado.",thePlayer, 255, 255, 255, true) end addCommandHandler("fecharpm2", fecharPortao) -
[Informações] Podem me dar um empurrão?
Death replied to Ichigo_Kurosaki's topic in Programação em Lua
Pro script de login funcionar corretamente você deve dar direitos de admins pra ele no lugar de * coloque o nome do resourcer de login A classe cliente representa qualquer cliente que se conectou ao servidor. Isso pode ser um jogador ou a consola . Todas as funções do cliente pode operar em ambos os jogadores e elementos do console do servidor. Server, ou literalmente "servidor", é um termo usado para designar operações que, em um contexto cliente-servidor, são feitas no servidor, não no cliente. -
bad argument at getPlayerName target WARNING: gameid\gameid.lua:1320: Bad argument @ 'getPlayerName' [Expected element at argument 1]
-
you could save the serial player to not duplicate tops I have helped hugs
-
I want q when the player enters the vehicle he can open the menu n freeroam this and my function function stoptoggleFRWindow (thePlayer, Source) cancelEvent () end addEventHandler("onVehicleEnter",getRootElement(),stoptoggleFRWindow)
-
running =D
-
funciono muito obrigado a todos que me ajudaram se não for em comodar existe algum evento de matar atropelado?