Jump to content

IIYAMA

Moderators
  • Posts

    6,085
  • Joined

  • Last visited

  • Days Won

    215

Everything posted by IIYAMA

  1. Ah sorry, I miss read. My head was stuck at scripting performance. Yea you are totally right.
  2. Because all data from your ram and HDD goes through your CPU(here is your game processed) before it enters your graphical card. Lets call it: "You are driving a very expensive/fast BMW but you can't speed up, because you are stuck in a traffic jam."
  3. @Grafu It may looks a little bit strange because he said cpu, but when your cpu can't handle it any more, your gpu will not work optimal too. In the beginning the fps will not drop, but your frame time will be dramatic increased. (frame time isn't exactly the same as your fps counter) Your fps don't feel smooth while playing, but you still have 60 fps.
  4. I don't help people who only care about the result, you should know that better then me.
  5. @ Mr.gSub Stop talking bullshit and read the triggerClientEvent page yourself. root is the result from getRootElement() function, which is the first optional argument from this function. So you can use both or none because it is optional.
  6. You should let somebody you trust, test it for you. It might be possible that it is an intern problem.
  7. 1.1 Create 1 white dot with photoshop. (high quality png is most of the time better) https://wiki.multitheftauto.com/wiki/DxDrawImage 1.2 or https://wiki.multitheftauto.com/wiki/DxDrawText and use the • character. 2 Change the color of the image(white) or text tocolor(255,255,255,255) -- white tocolor(200,200,200,255) -- light gray tocolor(155,155,155,255) -- gray tocolor(55,55,55,255) -- dark gray tocolor(0,0,0,255) -- black 3 Use tickCount() to manage the progress.
  8. dxDrawText(getPlayerPing(localPlayer),300,300)
  9. If you don't take over my code correctly, it will not work! triggerClientEvent( root,-- target "onLock",-- event vehicle -- vehicle = source ) IS -_-" AAARRRRGRRRRR!! triggerClientEvent(root,"onLock",vehicle)
  10. Then you made a mistake somewhere else. Debug your code using debug lines else I can't help you.
  11. triggerClientEvent( root,-- target "onLock",-- event vehicle -- vehicle = source ) -- this was correct -- addEvent("onLock",true) addEventHandler("onLock",root, function() if isElement(source) then local x,y,z = getElementPosition(source) -- source = vehicle playSound3D("CarAlarmChirp.mp3",x,y,z) end end)
  12. You are writing it and if it is broken you still writing more, so you won't learn a damn about it. So delete all your code and start again, begin with the startTrainJob function. I will help you step by step, but only step by step.
  13. Well, try first to download one successful. I will recommend you to remove those spaces between the file name and replace them with _ They always bring bad luck. @ Gallardo9944 That way they can become corrupted and they will be corrupted when the download gets interrupted by a disconnect.
  14. https://wiki.multitheftauto.com/wiki/TextCreateTextItem and there are more functions below you can use.(on that site) > Take a closer look at the examples and you will know how to use them. Personally I am more a fan of clientside dx functions, I never tried to use those functions myself.
  15. 1. The download is never successful? 2. Show me the music-file (line) in the meta.xml which is meant to be played. 3. Show me the string you send to download the file.
  16. Post the other part of the code, you said that the file is constantly in a re- download progress. A file which get overwrite every time can't be played, since it is never complete.
  17. @Banex Serverside is managing multiply players, the variable bool is used by all. Use a table (or elementdata for beginners) instead.
  18. Sure, but to make sure of this, you need to know the quality and usage of the resources you are running. The more players you have on your server the more actions your serverside scripts have to do. It is difficult to know this for the sure, the only thing you can do is testing it.
  19. You are sending the resourceRoot as source, but you have to send the player. triggerServerEvent("loginPL",localPlayer, guiGetText(WindowLog.edit[2]), "1", getPlayerName(getLocalPlayer())) Or use as you did before the client.
  20. The link under was my tree generator or well it was more like a world generator. Generating a custom mta world for a gamemode similar to rush/minecraft, but it never came to that(the gamemode itself).
  21. It would be very unsafe, if that was possible.
  22. IIYAMA

    Cursor speed

    And after the movement you should put the cursor back in the middle.
  23. Lol, you created a tree generator too. (at your Youtube channel) Click (sorry for going off topic, I was just surprised)
×
×
  • Create New...