glowdemon1

Members
  • Content Count

    171
  • Joined

  • Last visited

Community Reputation

0 Neutral

About glowdemon1

  • Rank
    Mark

Details

  • Gang
    LCN

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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. glowdemon1

    The last reply

    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. glowdemon1

    Need some help!

    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