Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. Alright can you tell me what you did here? you just changed the x, y positions and did what? and why changed them? i want to know because i want to do this with another panels too. guiGetScreenSize returns the client's resolution size. You just have to do basic math to find the center of the client's screen (sx/2 and sy/2) So, now it returns the middle of the screen: Now, you have to subtract half of the window away so it goes to the center.
  2. (Just incase: It might be even easier to use this resource, but you need to be able to port forward)
  3. local sx, sy = guiGetScreenSize ( ) GUIEditor.tabpanel[1] = guiCreateTabPanel(sx/2-499/2, sy/2-288/2, 499, 288, false) guiSetAlpha(GUIEditor.tabpanel[1], 0.50)
  4. Resource has been updated, make sure to port forward port 80.
  5. Your code doesn't really make since... nvehicle = createVehicle( 411, -1319.6854248047, -500.11340332031, 14.1484375 ) setVehicleDamageProof( nvehicle, true ) setVehicleLocked( nvehicle, true ) function check( p ) if getPlayerName( p ) == "test" then setVehicleLocked( nvehicle, false ) else cancelEvent () end end addEventHandler("onStatVehicleEnter", nvehicle, check)
  6. Use a timer (server-side) that loops threw the players every, ohh, let's say 10 seconds, and then it check their idle time (using getPlayerIdleTime), and if the idle time is bigger than like 2 minutes, it will insert the player to a table. Once all of the players have been looped threw, and checked if they're AFK then it will send a client event to all players, and then on the client side, you make a global variable, and using onClientRender, you use dxDrawImage, and getScreenFromWorldPosition. Sorry, it's kinda long and extensive, but it does make since. Just don't be shy on asking for help.;
  7. xXMADEXx

    expected near

    The variables "email" and "password" are not defined anywhere in the script.
  8. Well, yes i think so. You're wrong... If was going to sell a gamemode that I already had, i'd charge the same price as if I made it for you. Matter affect, I might even sell it for even more, because it's been tested, and the client wouldn't have to wait for it to be made.
  9. I'm pretty sure it's this. You need to open "roleplay-accounts/s_accounts.lua" and edit the databaseConfig table.
  10. xXMADEXx

    Easy Help!

    triggerEvent,triggerServerEvent, and triggerClientEvent all return true or false. I suggest you set a value for the player (using setElementData) when the player logs in to set the data to their username, and then on the client side you can just use getElementData.
  11. We don't give support for leaked scripts.
  12. Post your current code...
  13. Are you sure that onPlayerFinishDD is triggered when someone dies ?? I would say onPlayerRaceWasted when a player dies He probably has a custom game-mode. He is looking for a math formula, not to fix his script.
  14. maybe you could do something like: local giveCash = (getPlayerCount()*3)-(rank*2) and of course you can always adjust it.
  15. It wouldn't be to hard. Before you give the guy any money,. tell him you want to see the script in action in the server. If it's not how you want it, tell him to make it the way that you want it, and simply, if it's a basic change and he doesn't know how to do it then I wouldn't trust the script from him... and you can tell him to take his stolen/downloaded script elsewhere. You should really only buy scripts from people who you can trust such as members like Castillo, 50p (Not sure if he sells scripts), myself, and there are loads of other scripters that can be trusted, however, keep in mind, there are way more that can't be trusted than can be trusted. If you have a potential scripter, feel free to run him by me and I can tell you if I know and if he's a good scripter, as for, I know a lot of the "big" scripters of MTA. Also, you could check their forum profile to see if they ever help people with scripting.
  16. It's the same as onClientRender and onClientPreRender. It's just triggered at a different time in the render process. https://wiki.multitheftauto.com/wiki/Ga ... sing_Order
  17. Actually, this is the default scoreboard with the source code modified. I have the same one, but I gave it an orange look.
  18. xXMADEXx

    FPS Issue

    Alright, I installed those and it's still doing it http://pastebin.mtasa.com/668693258 Edit: After about 40-60 mins of playing, MTA will freeze, and show the spinning icon at the bottom, and It won't do anything until I restart MTA, and for some reason the sound is still going.
  19. xXMADEXx

    FPS Issue

    Still doing the same thing: http://pastebin.mtasa.com/721287022
  20. xXMADEXx

    Question

    You cannot rotate gui elements.
  21. xXMADEXx

    FPS Issue

    Hi guys. So, for some reason my MTA FPS has just gone to crap... Even in my own local server I'm getting 40FPS max, even though the limit is 100. I don't know why this just all of the sudden started. http://pastebin.mtasa.com/799644620
  22. Stop trying to get help with leaked scripts.
  23. WE don't give support for leaked/stolen scripts.
  24. Nor do we give support for leaked/stolen scripts.
×
×
  • Create New...