Jump to content

robhol

Retired Staff
  • Posts

    2,120
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by robhol

  1. robhol

    Text Radius Help.

    This is scripting, the topic should be there.
  2. robhol

    Text Radius Help.

    Also, learn to use the proper subforums! This is NOT an add-on, it's a normal script.
  3. I really doubt anybody would want to support over VoiceChat. If you can't phrase your questions, try again. Maybe you can draw some diagrams or stuff. Also, this is the wrong subforum...
  4. I decided to snoop around some.. http://development.mtasa.com/index.php? ... d_handlers voila!
  5. If you've ever used.. well, any of the most used languages, you're used to being able to call a function "earlier" (line-wise) in the script than you defined it. In LUA it seems like functions aren't registered until the compiler/interpreter reaches the line in which it's declared. Don't reference or call functions until after you've declared them, and you'll be fine.
  6. uhm, you can script very well, uhm not really. // commands are php, C# commands NOT of lua: addEventHandler("onPlayerJoin",getRootElement(),playerjoined) -- executes function playerjoined when player connects function playerjoined() start of the function spawnPlayer(source,0,0,3) -- spawns source element (in this case player who joined) at coordinates 0,0,3 fadeCamera(source,true) -- fades screen in, so it won't be black end -- end of the function -- Block commands: --[[i'm a block command yes an block command ]] Comments are not the same as commands...
  7. robhol

    Cant damage players

    And that begs for the POSSIBLE vs. PLAUSIBLE argument - making an AI is complicated. Hell, even the original game designers @ Rock* phailed quite a few times And AIs for 100 peds would be VERY hard on the server, it would also be a lot of extra traffic between clients, and hard to sync.
  8. Add a remote triggerable event client-side, add a handler function that shows the GUI, trigger from server-side when necessary.
  9. robhol

    Cant damage players

    This is a common bug, and will hopefully be reduced in DP3. In the meantime, pick your battles. /reconnect MIGHT help, but is far from being any kind of a reliable fix.
  10. getPlayerFromNick("robhol");
  11. Lol, you know, there are like 3-5 well populated servers, and from my point of view you could have been referring to either of them...
  12. I can only assume you're talking about the single player game (storyline, missions etc) or some server.. either way, this is the wrong place... If it's the single player: http://gamefaqs.com/ If not: ask in the server.
  13. Since our current crew has the not-so-impressive head count of.. 2-4 (not even certain) I thought I'd advertise a bit here. I didn't see any rules against it. We currently need people who can help with Placing vehicles Putting out some ramps for stunting Scripting (misc. stuff but not too advanced) Feedback, brainstorming, ideas We are not quite sure exactly what needs to be done yet, and we're open to ideas, so if you have a neat suggestion, speak up! Currently, we're thinking of making a DM-server based in San Fierro (but possibly Las Venturas), with some other features and stuff to do. Of course, the more experience you have, the better for everybody. If you're interested drop me a few lines via PM here, or leave an application here. Thanks.
  14. I hope GP will be supported for vehicles only... flying with the keyboard is... a bitch, flying with the mouse is worse still... but having people autoaim on your head because they have a gamepad would destroy the game.
  15. Or, you could just play The sims. Shocking idea, huh? As for the suggestion itself, this would be useless for the devs to waste their time on... (if that was what you meant) scripting this wouldn't be hard when the ped commands/functions do get available... zombies aren't really famous for their keen intelligence, are they?
  16. Why can't this topic die? It's not practically possible, get over it.
  17. robhol

    Big radar zones

    Didn't work for me. Zones don't show up at all.
  18. robhol

    Big radar zones

    As some of you might know, MTA fucks up with larger zones... I tried 200x200, and it caused the whole minimap to glitch up. http://img127.imageshack.us/img127/2638/xklkndyb5.png Here is an example of what happens. I just wanted to know if this will be fixed.
  19. It would be pretty useful for "garbage cleaning", since nothing really seems to happen when vehicles hit the water... SAMP has an "event" named OnVehicleDeath or something that fires for both exploding and water.
  20. This is very easy. Check if a user's nick contains the tag, if it's your tag, check if HE's in a list of clan members. If he's not, kick him or whatever. Would take 5 minutes to mash up.
  21. --- post deleted by me. Way off.
  22. What do you think I mean with MTA commands? All the MTA-provided functions... But will you be done SOON or will I have to look for another way to solve this in the meantime?
  23. Actually, I just figured out that Notepad ++ 5.0 supports custom keyword lists WITH code preview tooltips.. if anybody would like to help me with throwing together a database, that'd be great. 5.0 BETA can be found here, and I'll be checking it out.
  24. Anybody know how to start, how to do it? In any case, bump again.
×
×
  • Create New...