Jump to content

NeXTreme

Members
  • Posts

    117
  • Joined

  • Last visited

Everything posted by NeXTreme

  1. NeXTreme

    Map

    Check out the freeroam resource
  2. Try this: local spawnPunkte = { {2490.9541015625, -1665.9912109375, 14}, {2665.7795410156, -1430.2344970703, 31}, {2423.7976074219, -1239.5343017578, 25}, {2154.5483398438, -1137.8609619141, 26}, {2108.0493164063, -1781.1252441406, 14.5}, {1685.4399414063, -2323.234375, 14}, {1785.7797851563, -1926.1567382813, 14}, {1972.0899658203, -1156.9620361328, 21.5} } addEvent("onPlayerNewSpawn", true) function spawn(player, new) if ( new == "new" ) then spawnPlayer(player, 1834.4523925781, -1682.6423339844, 14, 90) createBlips(player) else local spawn = math.random(1,#spawnPunkte) repeat until spawnPlayer(player, spawnPunkte[spawn][1]+math.random(-2,2), spawnPunkte[spawn][2]+math.random(-2,2), spawnPunkte[spawn][3], 0, math.random(9,288)) end setCameraTarget(player, player) end addEventHandler("onPlayerNewSpawn", getRootElement(), spawn) addEventHandler("onPlayerWasted", getRootElement(), function(_, killer) setTimer(spawn, 5000, 1, source) givePlayerMoney(killer, 50) end)
  3. Thanks, I found a quite decent resource on the community to do this. It's not perfect, but gets the job done.
  4. Hey, is it possible to delete an entire resource (.zip file or folder) with LUA? I was searching the wiki and I found "fileDelete", but it is meant to delete a file inside the resource, while I want to delete the whole resource. Also, the contents of the resources are different so I again can't use fileDelete. Thanks in advance.
  5. I have a resource that will record a ghost at DD and DM maps, no checkpoints needed (I don't feel like sharing it, sorry.)
  6. The skin idea is nice, then however everyone would have different look, which is not my point. Maybe a new client function to set the skin to a player? guiSetSkin(string imagePath) This one looks cool: Anyways, I want to use dxDraw because I can make it look much better than GUI, allows me to draw images and text, and with a little work you can create nice animations for opening/closing interfaces, changing windows, etc.. The problem of course is making it "interactive". I have never encountered this problem, I used a combination of GUI and dxDraw for a race userpanel and I never saw that.
  7. Could you post some code at where you get that error? It would seem like you try to call a function in a resource that is not running or does not exist on your server. Not sure though
  8. It could work, however I never tried it. Try making something like that and get a friend on your server. See if you both have the same time. Oh and maybe you could just set the clock when the player joins, cause the time should run on it's own from there.
  9. I remember SoundWave mentioning something about that... Anyways, I hope you're done soon. I need this real bad so if you need help, I'd be happy to assist you.
  10. Hey guys. My current goal is to make an entire interface for my role play script out of dxDraw functions (image, rectangle, etc.). Obviously, drawing the items is not a problem. What I want though are buttons, edit fields, scroll bars, grid lists and other stuff available with GUI made with dxDraw functions. My first idea for making buttons would be to draw an image, and then create a GUI button underneath and make it invisible. My button would then look like my custom image, and I could also use events from GUI. However I haven't thought of a way to efficiently create edit fields and other stuff. For the edit field, maybe put an invisible edit field underneath too? I dunno. My question is, what's the easiest way to create something like that? I need a system that allows me to quickly create buttons and edit fields, etc. and also to remove them. Cheers, NeXTreme
  11. Indeed you are right Thank you very much
  12. Uhh hi, I wasn't really sure where to post this, I hope it's okay. My question is, where does the resource race_toptimes store the actual top times in? I've heard it uses a sql database, but I'm not really sure of that. I need this because I want to switch server host and transfer all toptimes with it. Simply copying the resource didn't help. Thanks in advance, NeXTreme
  13. NeXTreme

    Map wont show

    If you have race gamemode added, try testing in RACE. You can also try testing in freeroam and see if it appears then. I had a similar problem when a large piece of map just dissapeared forever and i couldn't get it back. Good Luck
  14. Yeah, can somebody re-upload this? The link doesn't work anymore, and i would really like to have this. BTW when u generate a loop with this, you have to CLONE every object in the loop in order for it to stay when you test the map.
  15. Well yes, i know nobody would bother making one... I just need some guidance on what to change.
  16. I would like to have Top Hunter Times on my server. Now, currently i have the top times for race, but you need to drive through the final checkpoint in order for it to note your time, but I would like it to note the time when you pick up hunter, and to ONLY appear in DM maps. If anybody knows where i could download it, please let me know. I would also appreciate if anyone could tell me how to change the race addon to note hunter times instead of final checkpoint. ~NeXTreme
  17. If you want pickups to be there for unlimited time, REMOVE respawn="0" FROM ALL PICKUPS THAT YOU WANT TO KEEP PERMANENTLY. The respawn="0" is the cause of your problems.
×
×
  • Create New...