Jump to content

glowdemon1

Members
  • Posts

    171
  • Joined

  • Last visited

Everything posted by glowdemon1

  1. I'm still busy atm and wont be free in the near future, thanks for the offer though.
  2. There is, /checkradio also outputs the uploader's name so you can punish them. If that's what you mean.
  3. Can you post a bit more code then? Because there shouldn't be a problem.
  4. Well, did you define playerElement?
  5. Try randomskin = skins[math.random(1,3)]
  6. Try math.random(1,#skins) or math.random(1,3)
  7. ohno not this time joseph stallin
  8. I don't see how it can be abused, if they really wanna troll and put "penis" or something as their language, they could put it up as their server name right?
  9. glowdemon1

    DX HUD

    Would be nice if you could make the money more readable by using commas. Like 130,456 or leave a space. But that's just my opinion.
  10. local gate = createObject(objectID,x,y,z) if (getPlayerTeam(player) == "theTeam") then moveObject(gate,1000,x,y,z) setTimer(function() moveObject(gate,1000,origX,origY,origZ) end,1000,1) end Oh, fixed been drifting off my attention lately
  11. local gate = createObject(objectID,x,y,z) if isPlayerInTeam(player,"theTeam") then moveObject(gate,1000,x,y,z) setTimer(function() moveObject(gate,1000,origX,origY,origZ),1000,1) end It's as simple as that.
  12. getElementHealth() returns a float between 0-1000. So you'll want to divide that by 10 and probably want to use math.ceil since you're gonna get results of 75.4571 etc. But decimal values shouldn't be a problem when working with progress bars, only if you're displaying this number somewhere, it'd be a PITA to read 85.7941. getElementHealth() math.ceil
  13. https://wiki.multitheftauto.com/wiki/Sc ... troduction https://www.youtube.com/watch?v=EAX38UWbVog Explains the basics. If you're having trouble, try reaching people at MTA's irc channel. https://client01.chat.mibbit.com/ Select GTANET > Get a nickname > Set #mta.scripting as channel.
  14. Heya, I'm trying to get rid of an MP3 system I made a few months ago. It was collecting dust and I went through it quickly to patch it up. It's all set-up with mysql but don't fear : I'm giving you the database structure and some radio stations with it. All you have to do is click the import button and set up the connection in the script and voila you're done. Poop-simple. Enough of this talk and lets go to the real deal. This is an MP3 player that allows players to upload their own radio stations that are supported by MTA (.PLS). Most radio stations use the .pls extension so it's not a big deal to upload things. Anyways, once a player uploads a station, ALL mp3 players get updated, even the once that are open, live sync. Since there might be some trolling with this mp3 system I decided to add a bunch of handy admin commands. They're not configured as admin commands yet, anyone can use them at the moment. /deleteradio (ID) : deletes a radio station using their ID. /changeradio (ID) : Lets you edit radio stations (URL,name,genre). /checkradio (ID) : Outputs the uploader, URL,name and genre. So if anyone decides to troll and spam-upload radio stations /checkradio and punish them. Talking about spam-upload : There's a 1 minute timer between each upload to avoid people from spam-uploading. Anyways so I've talked about most of the features, here's some screenshots : https://www.dropbox.com/sh/ajb0778hcez3w5y/uSFrL6GyqR. If you have any more questions or wish to purchase this script, feel free to contact me with a PM or drop a comment on this topic. This resource is made by me and upon purchase you'll get the source code (non compiled) and the database structure. There's no price set for this yet so I'm kind of auctioning this. I do know my price and what people want to give but no worries : I wont try to scam you by accepting a way too high price. If it's too high or too low, I'll tell you. Also I'd like to mention that you pay me first before I send you the resources to avoid scams. If you purchase this resource I'll help you set everything up (if needed) plus I might update this MP3 player in the near future, free updates can be sent if wanted. Constructive criticism is welcome, Plus, just a sentence to let you all know I'm available for small/medium sized tasks. glowdemon1.
  15. setPedSkin is deprecated use setElementModel instead
  16. Hi. I was thinking of creating a system so that my mysql server would only have to be used every 30 minutes. My idea was to recreate all mysql databases with tables and then update/add them just like a normal mysql server but without the use of one. Then I'd auto save these results each 30 minutes. Is this somewhat possible, would this give me better performance or is this just a clusterfuck and totaly not worth it?
  17. I combinate your script with mine days ago but it didnt fix that sky change problem but How i can fix that stupid bug and set down the extrem darkness it looks like a horror game LOL Try changing from a :16 res to a :32 res, might help.
  18. You might want to find the bindKey function that opens the pannel and replace it with a commandhandler. addCommandHandler ,set the third argument to true and set the acl rights for the command. Atleast that's how I'd do it.
  19. Start using commas and stop Writing Like This. I'm talking about capitalizing every first letter of a word. Not trying to break you down, just trying to help you.
  20. I just youtubed some videos to get started, after that I started using the wiki and the IRC which helped me ALOT.
  21. 1. Learn English, staff/owners that don't know their English properly are a huge turn-off. Unless it's a foreign language server.
  22. next comment is homosexual and having an affair with joseph stallin's right testicle
  23. https://wiki.multitheftauto.com/wiki/CreateProjectile 5th argument, if that's what youre looking for. Clueless on how you'd get the lock-on graphical thingy.
  24. I find it annoying that when I'm looking for a server to play for and I join one, I notice it's in a foreign language and the owners didn't put a tag in their title. So my suggestion is to have another gridlist (like players, name,ping,gamemode) where people can input one or multiple language tags. Also there should be a feature that allowed you to only look for english servers. Just wanted to put this here an get opinions before I mantis this, thank you.
  25. I personally have the same feelings as above me^. I've made my own playtime script and I set the current tick count of the server as elementData on the player and whenever a player leaves, I substract the old tickcount from the new tick count and multiply it by 1000 to get the amount of seconds spent. I've never had problems with this. Plus it's not a that big loss if you lose your playtime, considering the odds of losing it. Seeing the chances of your server crashing + the fact that the average player disconnects/reconnects every two hours or so. Perhaps a backup each 30mins wouldn't hurt.
×
×
  • Create New...