Jump to content

unknooooown

Members
  • Posts

    259
  • Joined

  • Last visited

Everything posted by unknooooown

  1. Eu costumava traduzir para este tópico, por favor, ignore qualquer erro gramatical. MTA1.1 está fora .. Você deve tentar isso. Depressa, depressa! Se você quiser mudar as cores do piso, como você provavelmente já viu em vídeos, você precisa atualizar o seu servidor. Ryden - Eu acho que ele quer mudar o shader, como você fez no vídeo de promoção 1.1.
  2. Just letting the Noobs know. But you already knew?
  3. marker = createMarker(px, py, pz, "cylinder", 150, 255, 0, 0, 255) setTimer(function() destroyElement(marker) end, 1000, 1) Instead of creating a marker and destroying it a second after it has been created, I would just add a colshape to the player when he joins. If you know that he is gonna use "Fus Ro Dah" when he is connected, the col could just be there all the time. It could be something like: col = {} function fusRoDahMe() local x,y,z = getElementPosition(source) col[source] = createColCircle(x,y,150) attachElements(col[source], source) end addEventHandler("onPlayerSpawn", root, fusRoDahMe) Like this you can just check if players/vehs are in the attached colshape everytime you need it.
  4. You can't disable the shadow on the normal nametag. If you don't like the way it looks now, the only solution is to script a new nametag resource.
  5. Could you give an example of your database structure? Also, do you use SQLite or MySQL?
  6. Post your code and any errors. And make sure you write ' 0.5 ' not ' 0,5 '
  7. Honestly, what do you expect? Yesterday you posted some scripts that you have no chance of understanding, it was so clear that the scripts were stolen from somewhere. Today you come in here writing stuff like: What do you expect people to do? The players create the resources.. Players as in YOU and ME. Either learn scripting or pay someone to make your resources.
  8. Many of your posts suck. Why waste time on this? Why not go away?..
  9. Either you are not showing us the entire script or you have NO idea what you are doing. I dont know anything about OOP(Object Oriented Programming), but what you are doing looks very wrong. Its a mix of client and serverside scripts... If you want to add all that serverside.. Weeell, then you should probably start by reading here: https://wiki.multitheftauto.com/wiki/Main_Page "Somthing.onClientStart" does not exist anywhere either.. Also.. Please use [ lua ]CODE HERE [ /lua ] (without spaces)
  10. In the same way I wrote: DRAW A FEW LABELS WITH SOME OFFSET. You dont have to write 5 lines to do that. Take a look at the Wiki example I posted, it does exactly the same with 2 lines.
  11. First.. Is ' dxDrawColorText ' a custom function you have written? ' dxDrawColorText ' does not exist in MTA. You should use ' dxDrawText ' Have a look at this example local rootElement = getRootElement() local screenWidth, screenHeight = guiGetScreenSize() -- Get the screen resolution function createText ( ) local playerX, playerY, playerZ = getElementPosition( getLocalPlayer() ) -- Get player's coordinates. local playerZoneName = getZoneName( playerX, playerY, playerZ ) -- Get name of the player's zone. dxDrawText( playerZoneName, 44, screenHeight-41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) -- Draw Zone Name text shadow. dxDrawText( playerZoneName, 44, screenHeight-43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "pricedown" ) -- Draw Zone Name text. end function HandleTheRendering() addEventHandler("onClientRender",rootElement, createText) -- keep the text visible with onClientRender. end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering) Source: https://wiki.multitheftauto.com/wiki/DxDrawText
  12. How can I change this? Please be a little more clear when you ask questions...
  13. MTAInvaders has been shared with Maccer on IRC. I will probably release a new video and maybe open a server so people can test the new version very soon.
  14. Okay. Google it. You wont get your answer here.
  15. You know, there is a reason its compiled?..
  16. Source: https://forum.multitheftauto.com/viewtopic.php?p=377904&sid=9fb872e2171ffc0a3ccda59fc8c688db#p377904
  17. Find the folder where the map is saved in your MTA SA 1.0 Install. Think the map files are saved to Program Files\MTA San Andreas\server\mods\deathmatch\resources\ - Not 100% sure as I dont map. When you have found it, move it to MTA San Andreas 1.1\server\mods\deathmatch\resources\ You dont have to convert anything in the map to make it work in 1.1.
  18. I wish you would tell him what you did. He can't learn from your fix if you just post a working script. No offence..
  19. Good grief, do you ever learn to read scripts that doesnt have the same indentation as yours?
  20. I know bud. I just wanted to remind you that you have to be realistic sometimes. I know that you really want your gamemode finished, but if some of the elements are too hard for you to do on your own, then you have to wait or get someone to help you finish it. I know that you are putting a lot of work into your project, which is just fine. But in the end, wouldnt it be a better feeling to have something you have created on your own, rather than to have 90% resources created by others?
×
×
  • Create New...