Jump to content

CodeMaster

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by CodeMaster

  1. Ummm... as I know paintball resource has a "bug" which leaves same those markers floating after player leaves, he wants it to be like a real paintball. Still I'm not good at all with math (well I'm much younger than most of you probably thought), concluding that those lessons with advanced functions are still awaiting me in further lessons Anyways that looks interesting, and it would be cool if anyone could explain how can I use functions (not lua functions but f(x)=...) to do such thing :{ Cheers Nidza
  2. Ummm... as I know paintball resource has a "bug" which leaves same those markers floating after player leaves, he wants it to be like a real paintball. Still I'm not good at all with math (well I'm much younger than most of you probably thought), concluding that those lessons with advanced functions are still awaiting me in further lessons Anyways that looks interesting, and it would be cool if anyone could explain how can I use functions (not lua functions but f(x)=...) to do such thing :{ Cheers Nidza
  3. Lol XetaQuake easily becomes somebody's fan ^^ BTW: Nice job, now I'm sorry that I didn't checked it out before Also maybe we should have only one of all possible mods, which will be open to everyone for editing! We don't want to have thousands of same scripts all again! (like in SA-MP ^^) Cheers Nidza
  4. Lol XetaQuake easily becomes somebody's fan ^^ BTW: Nice job, now I'm sorry that I didn't checked it out before Also maybe we should have only one of all possible mods, which will be open to everyone for editing! We don't want to have thousands of same scripts all again! (like in SA-MP ^^) Cheers Nidza
  5. Okay, my mistake. So Verrceti, I mean on YOU. Hope this makes it clear. @XetaQuake: use are instead of a! And have u added me on skype? I don't see you, write me a PM with your address. Ok enough off topic! Cheers Nidza
  6. Okay, my mistake. So Verrceti, I mean on YOU. Hope this makes it clear. @XetaQuake: use are instead of a! And have u added me on skype? I don't see you, write me a PM with your address. Ok enough off topic! Cheers Nidza
  7. That's a known MTA bug, markers and blips won't work well until DP3. So as DP3 goes out you'll get VFS v2, which is gonna be much more stable and will have many new features Including: Cheers Nidza
  8. That's a known MTA bug, markers and blips won't work well until DP3. So as DP3 goes out you'll get VFS v2, which is gonna be much more stable and will have many new features Including: Cheers Nidza
  9. I think he tried to say you that you can change topic name. ^^ Right translation: Try to learn this english once already Cheers Nidza
  10. So I were right. (as always ^^) And maybe u should add [sOLVED] (?) so other people (I mean on newbies who don't search) would check out what did we said here. Or maybe u should add [sOLVED (PARTIALLY)] ^^ Cheers Nidza
  11. I think thats not problem... Markers when hit limit, server hides the ones which are farthest from you and leave 64 of them I think. There's no reason why they wouldn't show up if he is close to it. Its just mine thought, but probably you know better, still you're here longer than I am. Anyways there's a bug (known one) so markers don't show up if they were created before player entered (e.g. onResourceStart). Try restarting script in game unless you are starting it in game. I believe that you want them to hide (I wanted that for blips, and did it ) but until MTA marker handling isn't fixed (maybe in DP3 I don't know) it won't be easy using markers. Cheers Nidza
  12. As I said: I expect that but I'm not sure [OffTopic] U?? Lol you allowed yourself to compare with ME? ^^ I passed every single HL game in our universe ^^ [/OffTopic] Cheers Nidza
  13. Ok, well, as far as I know (and most of us know) MTA is progressing quickly. So I expect it soon (that soon is a unstable variable, but I got to have any hope!). Also, as I expect DP3 soon, I expect that I'll do the script after it goes out (and it should be soon), so the script will go out soon. Pretty confusing I know, but understand this: We hope that MTA DP3 will come soon, and I'll do the script (after it goes out) ASAP. Thats why I say soon! P.S.: Stop killing faith & hope in people. ^^ P.S.S.: I made a record of using word soon in a post ^^ P.S.S.S.: [OffTopic] XetaQuake you play HL2 too or its just avatar? ^^ [/OffTopic] Cheers Nidza
  14. No way I would stop developing this. I'll go until I do everything planned/asked to be done. Even when this calms down, and someone digs it from the archive, feel free to make even EPIC bumps, and I'll do what you asked to be done if its possible! BTW: Cheers, this got up to 300 downloads! Thanks for everyone who gave it a chance, and voted for it also! Expect v2.0 soon! Cheers Nidza
  15. AS I ALREADY SAID: Some bugs are fixed already, and you should read other posts before posting. eAi's map idea has fixed that bug. But v2.0 will be here after DP3 goes out unfortunately, because some functions I'm gonna need will be implemented in DP3, so this script won't be part of DP3 release most probably. Cheers Nidza
  16. No idea is ok man, but I want to gas stations be slightly visible. And my development is heavily slowed down, because I can't load wiki... I can load only MTA forum, community and nothing mode at ALL. Cheers Nidza
  17. Again reason (^^): Although I could do that I already got markers for it which are highly viewable, and colshapes are used to show and hide blips, so I would need to rewrite mapsystem (again ) for it. EDIT: Ok I readed again your post. So you mean when player stops fully Well that might be done to make sure to players don't just "fly" through checkpoints, but I'll for start work with it + mine keys idea. (remember this is just development its possible to be changed for full release so don't be too worried) The Main reason: My cash owing system won't work well if it auto refills because timer has to go in short periods (but in this case too short). So for now I'll ease up the work by adding it on the keys, because with them you can choose "exactly" how much fuel you want, and spend money as much as you want (I'm not meaning on too much, if you need to buy weapons or something too). And if I would make a command for adding specified amount that would be slowing down the player a lot. So I think its going to be best to have two keys binded, one for 10% adding, and another for 1% adding. If you think that these idea is not ok, comment then. Cheers Nidza
  18. Touho, one advice: Get your questions on IRC please, or scripting forum is going to have one (or more later ^^) B.L.A.S.T. threads which is quite unneeded. I was asking on IRC when I was starter, and I ask now too It just keeps forums cleaner because the subjects aren't so clear (like "How I can do 2?" because people don't get straight what do you need. Link to the #mta.scripting channel irc://irc.multitheftauto.com/mta.scripting Cheers Nidza
  19. Because of a simple reason: When peoples are in a rush they would only go thorough checkpoint, and pressing keys would slow them down a bit, but getting in job with GUI when they are in some kind of endurance race or etc? Your idea practically is interesting, and if some more people requests it, it could be done. Cheers Nidza
  20. Cool, thanks I added 11 and found 2 which still ain't added, so I'm still gonna have some job. Update on development progress (v2 most notable changes): - a new mapsystem (eAi's idea) - blips showing and hiding when you are nearby (like on real radar map in GTA:SA) - partially finished paying system Ideas: - bind keys to allow player to add specific amount of fuel (ex. "l" = 10% ; "k" = 1%) - to have price moved from 10$ per 1% (way too much) to 1.5$ per 1% (15 per 10% ; 10% ~ 1l; Xoomer 1l price: 14.99) P.S. inform me do you like the ideas, give your ideas and advice me if you got something interesting, like eAi did. Also go on with bug catching this time I'm gonna make it bug free as much as possible in v2 (but first check out other bug posts!) P.S.S. eAi your mapsystem advice was so excellent! It fixed me several bugs at once and allowed me some new features P.S.S.S. A big thanks to the people from IRC who helped me (lil_Toady,50p,NeO_Cazomino,Hankey,MeKorea,eAi,well Borov too ,and the rest) , and standed by me when I needed help Cheers Nidza
  21. Off topic: # local rnd = math.random( #spawns ) Too get table size (the max index) in lua you use #?
  22. He means on SA-MP Debug I think ^^ Then take this: https://forum.multitheftauto.com/viewtopic.php?f=91&t=21674 Cheers Nidza
  23. Thats an pretty simple way, but I have started to work it out this way: - Add Element data directly in mapfile (isstation="true") - Read Element data. - If returns false its not my marker forget it - Else do what you got to do And are you EVER coming to MSN man? Haven't talked long time ago EDIT: Have you blocked me maybe? Cheers Nidza
  24. Its already fixed in new release. And it will hide and show without errors I have tested it.
  25. I know, I have my reasons but I mistaked. I'm C programmer, so just to be assured that variables exists I put them on start of code as nils, like for a setup. So my solution is just to change it to nil on the start and add checking system to render event which will set oX,oY,oZ to current x,y,z if player wasn't in any vehicle. And yes your solution is ok, but as I said the things I learned with C I'm not gonna change. I'll use them as nils for awareness of that that player is in vehicle even before he is physically in, and event is called when he is in. It will work this way too anyways I'll try both of this ways to see if some of them has any unstable parts (but I'm pretty sure that your won't have bugs, except some timing unstableness (two events)). Thanks for spotting that bug btw. Fix that by editing the file cvehiclefuel.lua from: function onEnterRefillArea(player,sDimension) triggerClientEvent("onGasRefill",getRootElement(),true) end addEventHandler("onMarkerHit",getRootElement(),onEnterRefillArea) function onExitRefillArea(playerplayer,sDimension) triggerClientEvent("onGasRefill",getRootElement(),false) end addEventHandler("onMarkerLeave",getRootElement(),onExitRefillArea) to: function onEnterRefillArea(player,sDimension) local veh isPlayerInVehicle ( player ) if ( veh == true ) then triggerClientEvent("onGasRefill",getRootElement(),true) end end addEventHandler("onMarkerHit",getRootElement(),onEnterRefillArea) function onExitRefillArea(playerplayer,sDimension) local veh isPlayerInVehicle ( player ) -- Check if the player is in a vehicle if ( veh == true ) then -- If they are, therefore "true", then continue with the function triggerClientEvent("onGasRefill",getRootElement(),false) end -- The "else" part doesn't need to be defined, because we don't want anything to happen, if it isn't true. end addEventHandler("onMarkerLeave",getRootElement(),onExitRefillArea) Essentially, it serves as a check to make to that the player is in a vehicle when they 'hit' the markers. This should stop it spitting out that message about not being in a vehicle. About this. You are right, but i don't want that, so because player is in the vehicle it will still refill on every gas station. I'm interested is it possible to in a map file add element data like: Because that could help a lot. EDIT: I found that as correct thanks to lil_Toady on IRC Don't check bugs anymore in this release because v2 is coming soon so its useless, because some bugs I already got fixed. You'll get another release for that If anyone wants to collaborate in this project on anyway (testing it, scripting it, giving ideas for it) please contact me over PM for my MSN or Skype address. Cheers Nidza
×
×
  • Create New...