-
Posts
382 -
Joined
-
Last visited
Everything posted by yMassai
-
https://community.multitheftauto.com/ind ... ls&id=4706 https://community.multitheftauto.com/ind ... ls&id=4707 https://community.multitheftauto.com/ind ... ls&id=4708 https://community.multitheftauto.com/ind ... ls&id=4714 https://community.multitheftauto.com/ind ... ls&id=4715 https://community.multitheftauto.com/ind ... ls&id=4724 https://community.multitheftauto.com/ind ... ls&id=4851 https://community.multitheftauto.com/ind ... ls&id=4737 https://community.multitheftauto.com/ind ... ls&id=4748 https://community.multitheftauto.com/ind ... ls&id=4753 https://community.multitheftauto.com/ind ... ls&id=4845 https://community.multitheftauto.com/ind ... ls&id=4954 https://community.multitheftauto.com/ind ... ls&id=4974 https://community.multitheftauto.com/ind ... ls&id=4980 https://community.multitheftauto.com/ind ... ls&id=4981 These resources do not have any information. This player has this habit of not for any information in your posts.
-
Alguém se despõe a fazer um tutorial sobre meta?
-
Hello, I do not like it when resources post without information so I'll report them here. What appears is that they are using the community to post resources for private use only saved somewhere and to not lose them completely. https://community.multitheftauto.com/ind ... ls&id=4874 https://community.multitheftauto.com/ind ... ls&id=4942 https://community.multitheftauto.com/ind ... ls&id=4948 https://community.multitheftauto.com/ind ... ls&id=4949 https://community.multitheftauto.com/ind ... ls&id=4956 https://community.multitheftauto.com/ind ... ls&id=4960 https://community.multitheftauto.com/ind ... ls&id=4961
-
eu realmente não poderia estou ocupado e ainda estou na produção de outro script, crie você mesmo, inicie pedindo dicas sobre as funções possíveis a utilizar a Draken que aparenta ser uma pessoa muito entendida(sem ofensa).
-
É sempre hora de aprender loadstring eu nunca utilizo isto para mim também é difícil mas noque eu poder ajudar eu ajudo, sem abusar é claro.
-
Se você quer uma cor individual você ira usar #ff0000ExtremeSB como falou mas se quiser uma cor para um grupo eu endicaria a você a criar um TEAM ou um grupo na classificação do tab que seria o recurso scoreboard se não me engano, no propio painel de ADM há como criar alguns team mas eles serão temporarios ou seja quando fechar o servidor eles serão excluidos. Eu produzi um script muito simples que cria alguns teams https://community.multitheftauto.com/index.php?p= ... ls&id=3942 este é o link. Para criar algum team você pode utilizar a função serve-side createTeam
-
Você pode entrar em contato com alguém que faça ou se você encontrar alguma dificuldade para criar iremos ajudar você dentro do possível. Eu irei deixar meu msn a disposição caso queira entrar em contato comigo. [email protected]
-
Did not quite understand. You just posted with respect to exchange level but not with name identification.
-
GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} function CriarJanela() local root = getRootElement() wantedJanela = guiCreateWindow(80,80,250,250,"",false) guiWindowSetSizable(wantedJanela,false) --labels labelJanela = guiCreateLabel(20,20,250,60,"Janela de Alteração de Wanted Stats",false,wantedJanela) labelNome = guiCreateLabel(10,55,250,60,"Nome do Jogador :",false,wantedJanela) labelWanted = guiCreateLabel(30,90,250,60,"Wanted Level :",false,wantedJanela) --edit editWanted1 = guiCreateEdit(120,50,120,25,"",false,wantedJanela) editWanted2 = guiCreateEdit(160,85,80,25,"",false,wantedJanela) --Memo memoEdit = guiCreateMemo(10,120,230,80,"Identifique o jogador e selecione o nivel de procurado para a alteração, os niveis podem ser de 0-6 .",false,wantedJanela) --Button buttonAlterar = guiCreateButton(0,210,120,30,"Alterar Nivel",false,wantedJanela) buttonFechar = guiCreateButton(130,210,120,30,"Fechar",false,wantedJanela) guiSetVisible ( wantedJanela, false ) showCursor ( false ) end addEventHandler( "onClientResourceStart", getRootElement( ), CriarJanela) addEventHandler('onClientGUIClick', root, function () if ( source == buttonFechar) then guiSetVisible ( wantedJanela, false ) showCursor ( false ) end end) function Visible () guiSetVisible ( wantedJanela, true ) showCursor(true) end addCommandHandler ( "wantedstats", Visible ) I made some adjustments. Someone could help me? I tried to change the level of the player. the variable editWanted1 is to put the player's name. and the variable editWanted2 is for identify the level is to obtain the player, either larger or smaller. the variable buttonAlterar is for change the informations.
-
the window is already open. the window don't open with command.
-
the cursor is turned on but an error not open the window bad argument line 18 , 29 29
-
not really detect any error. but the window does not open with the command.
-
function CriarJanela() wantedJanela = guiCreateWindow(80,80,250,250,"",false) --labels labelJanela = guiCreateLabel(20,20,250,60,"Janela de Alteração de Wanted Stats",false,wantedJanela) labelNome = guiCreateLabel(10,55,250,60,"Nome do Jogador :",false,wantedJanela) labelWanted = guiCreateLabel(30,90,250,60,"Wanted Level :",false,wantedJanela) --edit editWanted1 = guiCreateEdit(120,50,120,25,"",false,wantedJanela) editWanted2 = guiCreateEdit(160,85,80,25,"",false,wantedJanela) buttonAlterar = guiCreateButton(0,210,120,30,"Alterar o Stats",false,wantedJanela) --Radio buttonRadio1 = guiCreateRadioButton(170,110,50,50,"Adicionar",false,wantedJanela) buttonRadio2 = guiCreateRadioButton(170,140,50,50,"Remover",false,wantedJanela) buttonFechar = guiCreateButton(130,210,120,30,"Fechar",false,wantedJanela) end addEventHandler("onClientGUIClick", buttonFechar, Fechar) addEventHandler("onClientResourceStart", getRootElement, CriaJanela) guiSetVisible ( wantedJanela, false) guiWindowSetSizable(wantedJanela,false) function Fechar() guiSetVisible ( wantedJanela, true ) showCursor ( true ) end end function Visible () guiSetVisible ( wantedJanela, true ) showCursor(true) end end addCommandHandler ( "wantedstats", Visible ) WARNING: Loading script failed: WantedTest\client.lua:32 '' expected near 'end'
-
wantedJanela = guiCreateWindow(76,58,171,21,"",false) editWanted = guiCreateEdit(76,58,171,21,"",false,wantedJanela) function Visible () guiSetVisible ( wantedJanela, true ) showCursor(true) end end addCommandHandler ( "wantedstats", Visible ) Hello I had a new idea and I'm already in the production of another script that will be available for download within a few days. I have never used the function "addCommandHandler".
-
carrosMarker = createMarker( 1507.860, -1714.509, 13.046, "cylinder", 1.5, 255, 250,110,100 ) carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) carrosList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( carrosList, "Carros", 0.85 ) carrosCreate = guiCreateButton(05,170,85,45,"Criar",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Fechar",false,carrosWindow) guiWindowSetSizable( carrosWindow,false) row = guiGridListAddRow( carrosList ) row2 = guiGridListAddRow( carrosList ) row3 = guiGridListAddRow( carrosList ) guiGridListSetItemText( carrosList, row, column, "Glendale", false, false ) guiGridListSetItemText( carrosList, row2, column, "Sadler", false, false ) guiGridListSetItemText( carrosList, row3, column, "Sanchez", false, false ) guiSetVisible( carrosWindow, false ) function elMarker( hitPlayer ) if ( getElementType(hitPlayer) == "player" and hitPlayer == localPlayer ) then guiSetVisible ( carrosWindow, true ) showCursor(true) end end addEventHandler ( "onClientMarkerHit", carrosMarker, elMarker) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == carrosClose ) then guiSetVisible ( carrosWindow, false ) showCursor(false) elseif ( source == carrosCreate ) then local modelo = 0 if(guiGridListGetItemText ( carrosList, guiGridListGetSelectedItem ( carrosList ), column )=="Glendale")then modelo = 604 elseif(guiGridListGetItemText ( carrosList, guiGridListGetSelectedItem ( carrosList ), column )=="Sadler")then modelo = 605 elseif(guiGridListGetItemText ( carrosList, guiGridListGetSelectedItem ( carrosList ), column )=="Sanchez")then modelo = 468 end triggerServerEvent("CreateCarros", getLocalPlayer(),modelo) guiSetVisible ( carrosWindow, false ) showCursor(false) end end ) function Loc (hitElement) if ( source == carrosMarker and not isPedInVehicle ( localPlayer ) and hitElement == localPlayer ) then guiSetVisible(carrosWindow,true) showCursor(treu) end end function pQuit() end addEventHandler("onPlayerQuit",getRootElement(),pQuit) I do not want the window open when the player is inside a vehicle. someone could help me?
-
have you checked if he created the script? he may have had the same idea
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=4864 This feature has no information, I really get very angry when a player do this. I would like know if yours deleted this type of resource.
-
E ae pessoas eu to postando aqui o resource criado por mim e meu amigo StanleySathler, sem ele não teria esse resource. Este recurso é uma simples loja de armas, a janela da venda pode ser visualizada através da tecla "F7". O mais interessante deste script é que os jogadores devem obter uma licença para comprar as armas ou seja, sem licença nenhuma compra é efetuada. A licença custa $$50,000 , o preço fica a gosto de vocês podem editar na parte server-side, no propio script encontrarão instruções. O link do resource é : https://community.multitheftauto.com/index.php?p=resources&s=details&id=4856 Espero que tenha ficado bom. Se tiver problemas só comenta na commu ou aqui mesmo.
-
Hello I am producing a script that will soon to download. I am creating a table that sells weapons. At first only a few buttons have some pictures and nothing else. I ask for help, what would it be? Should I use the arguments and getAccountData setAccountData but i do not understand how to use, I do not know about it then you could help me? I want a license for the players buy this weapons. If you do not understand, I will repitir with detail. I want players to have to buy a license to buy the weapons, if not have the license will not buy the weapons. The button labeled "buttonLicense" what will effect the purchase of the license. Ie i want to save in the account that the player has already bought the license. By purchasing the license will save on the purchase and your account will be charged a value of "$$55.000". WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) guiCreateStaticImage(30,80,60,60,"imagens/3.png", false,WindowTest ) guiCreateLabel(35,35,250,60,"Você deve obter uma licença : $55.000",false,WindowTest) buttonLicense = guiCreateButton(270,33,135,20,"Licença para Armas",false,WindowTest) guiCreateButton(29,140,60,15,"2,500",false,WindowTest) guiCreateButton(109,140,60,15,"2,500",false,WindowTest) guiCreateButton(189,140,60,15,"2,500",false,WindowTest) guiCreateButton(269,140,60,15,"2,500",false,WindowTest) guiCreateButton(349,140,60,15,"2,500",false,WindowTest) guiCreateButton(29,220,60,15,"2,500",false,WindowTest) guiCreateButton(109,220,60,15,"2,500",false,WindowTest) guiCreateButton(189,220,60,15,"2,500",false,WindowTest) guiCreateButton(269,220,60,15,"2,500",false,WindowTest) guiCreateButton(349,220,60,15,"2,500",false,WindowTest) guiCreateButton(29,295,60,15,"2,500",false,WindowTest) guiCreateButton(109,295,60,15,"2,500",false,WindowTest) guiCreateButton(189,295,60,15,"2,500",false,WindowTest) guiCreateButton(269,295,60,15,"2,500",false,WindowTest) guiCreateButton(349,295,60,15,"2,500",false,WindowTest) guiCreateMemo(25,60,405,15," ",false,WindowTest) guiCreateStaticImage(110,80,60,60,"imagens/31.png", false,WindowTest ) guiCreateStaticImage(190,80,60,60,"imagens/30.png", false,WindowTest ) guiCreateStaticImage(270,80,60,60,"imagens/32.png", false,WindowTest ) guiCreateStaticImage(350,80,60,60,"imagens/33.png", false,WindowTest ) guiCreateStaticImage(30,160,60,60,"imagens/1.png", false,WindowTest ) guiCreateStaticImage(110,160,60,60,"imagens/20.png", false,WindowTest ) guiCreateStaticImage(270,160,60,60,"imagens/27.png", false,WindowTest ) guiCreateStaticImage(350,160,60,60,"imagens/28.png", false,WindowTest ) guiCreateStaticImage(190,160,60,60,"imagens/29.png", false,WindowTest ) guiCreateStaticImage(30,240,60,60,"imagens/2.png", false,WindowTest ) guiCreateStaticImage(110,240,60,60,"imagens/26.png", false,WindowTest ) guiCreateStaticImage(190,240,60,60,"imagens/25.png", false,WindowTest ) guiCreateStaticImage(270,240,60,60,"imagens/4.png", false,WindowTest ) guiCreateStaticImage(350,240,60,60,"imagens/5.png", false,WindowTest ) guiWindowSetSizable(WindowTest,false) guiSetVisible(WindowTest,false) function infoShow30 ( ) guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) showCursor ( not isCursorShowing( ) ) end bindKey ( "F5","down", infoShow30 )