Jump to content

Black Dragon

Retired Staff
  • Posts

  • Joined

  • Last visited

Everything posted by Black Dragon

  1. What's that? Only members may posts? That's discrimination against persons of non-phallic origins.
  2. Black Dragon


    War! Unf! Good God, y'all. What is it good for? Absolutely nothing! Say it again War! Unf! Lord, what is it good for? Absolutely nothing! Listen to me
  3. Huh, well that's odd. Can you round the number to be an integer (with math.ceil() or math.floor())? I'm speculating MTA somehow reads it wrong because of the dot in the middle of that number.
  4. http://development.mtasa.com/index.php?title=Vehicle_Upgrades
  5. tonumber(loss) prolly returns false or something. Try this: outputChatBox( tostring(tonumber(loss)) ) And see what it outputs.
  6. Well, yeah. If you care to know, it was due to players moving a bit while dead under certain circumstances, (for example: fire, drowning and desync) causing the flag col element being hit. About map elements and usage: http://development.mtasa.com/index.php?title=CTF
  7. Thanks a lot. I'll look into it ASAP. Edit: it was due to dead players picking up flags. The updated version would be released along with dp3. For now you can update line 361 in ctf.lua to: if ( ( getClientName( player ) ~= false ) and ( isPlayerDead ( player ) == false ) ) then
  8. No, the idle respawner is exclusive to cdm_ls, as far as I know.
  9. Err yeah, that's what I meant. It was morning and I didn't sleep well. Don't judge me.
  10. I'm aware of the respawning-with-flag bug and have no idea how it happens, as it only started happening after the first dp was released. If anyone has any info on how to reproduce it I would be eternally grateful. As for the flag being pickable only on vehicles, well, seems logical to me. I'll ask around to see if there's demend for it.
  11. Lemme correct some errors. function keydown() if ( mouseon == 0 ) then ActivateMouse() else DeactivateMouse() end end function startup() -- At startup, we'll bind the key. outputChatBox( "Startup." ) bindKey( "b", "down", keydown ) outputChatBox( "Key binded." ) end addEventHandler("onClientResourceStart", getRootElement(), startup) function commands( commandName, arg, arg2 ) if( arg == "keydown" ) keydown() outputChatBox( "key down." ) return elseif( arg == "mouse" ) then if( arg2 == "on" ) then ActivateMouse() outputChatBox( "Mouse activated." ) else DeactivateMouse() outputChatBox( "Mouse deactivated." ) end return else outputChatBox( "Bomber script is active. (c) tomozj 2008" ) outputChatBox( "USAGE: /bomber [start/keydown/mouse] [on/off]" ) return end end addCommandHandler("bomber", commands, arg, arg2) All in all, you added ends before elses, which is a syntax error in Lua. Also, onClientResourceStart actually executes on resource start, (honest!) so it's redundant to have a command to execute it again. Oh, and I didn't check to see if it actually works, it's up to you from here.
  12. I wrote an idle vehicle respawner when I made the cdm_ls map, meaning that idle cars (as in, cars without people in them or close to them) would respawn after a while. I made it so that it would only effect the maps vehicles to not interfere with other resources. Hope that sheds some light on this problem. What puzzles me is that you could see a vehicle in one location while he could see the very same vehicle in some other location. Are you certain that it is the EXACT same vehicle you two are looking at?
  13. A: He cought the brain worms, or so I've heard. Q: Or was it some chemical imbalance?
  14. Mornin' Frank. You will be able to run your MTA scripts on an MTA server, (most likely your local one, if you're going to be learning it.) which would be provided with MTA once DM is released.
  15. Black Dragon

    buying questions

    Check the discount baskets, yeah.
  16. Toady is a lying liar and is on hallucination inducing drugs.
  17. Those are images. And yes, if you really wanted to you could display those custom weapons as well (after some tweaking, of course)
  18. It's a separate resource. You could load it whenever you wish.
  19. A: He's a senile schizophrenic. Q: What other diseases does he carry?
  20. What. Why am I on the list. I demand a refart. Hard choice though
  • Create New...