Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. OK, bump! It should now work with MTA 1.0.
  2. 50p

    Help plz

    To add a map to resource just add the tag in meta.xml. There are many ways to make spawn points random. Tell and/or show us if you have some code already.
  3. Why don't you just load a new image? You can have 1 gui-staticimage element (especially if images are meant to be in the same position) and load another image to swap the image. - https://wiki.multitheftauto.com/index.ph ... eLoadImage Also, what is source doing in setTimer for destroyElement? destroyElement has only 1 parameter.
  4. 50p

    [HELP] RPG SERVER

    6d23... Also, https://forum.multitheftauto.com/viewtop ... 00#p289183
  5. https://wiki.multitheftauto.com/index.ph ... =Debugging
  6. 50p

    [HELP] RPG SERVER

    You want to know everything already and start making RPG resources. If you have never learnt any programming/scripting language it will be challenging for you to learn. First few weeks will make you go nuts but if you really want to learn you will survive. If you want to create vehicle, you use createVehicle function or tag in map file. I'll give you advice... Use wiki like if it was a fridge, that you look into when you want to eat. Wiki is the site that you must keep opened at all time. You'd find createVehicle function easily with only 2 clicks.
  7. 50p

    Problem with SQL

    You probably try to create table "player" which already exists in your database and has different columns. Use SQLite Database Browser to open registry.db file located in your server directory. There are many things wrong with your code as well... - look at this syntax highlighting: executeSQLUpdate ( "player", "spawn = x, y, z", "accountName = pName" ) Here, on the forum, strings are red. At this line, pName will be "pName" (which is string) not player's name. - OnPlayerQuit is not the same as onPlayerQuit. Lua is case sensitive and so are event names. - outputChatBox(result, player) - this is wrong too... you can't output result just like that... outputChatBox requires string not a table nor boolean. You sure need to read the scripting basics... - https://wiki.multitheftauto.com/index.ph ... troduction - http://robhol.net/guide/basics
  8. 50p

    [HELP] RPG SERVER

    The bank is in Las Venturas in the Building Plan or something like that. It's to the East of 4 Dragons Casino (go straight past the Ammunation, head to the Transfender garage and the icon will appear).
  9. 50p

    [HELP] RPG SERVER

    What I use to get coords is this https://community.multitheftauto.com/index.php?p= ... ils&id=124 6d23, to make RPG resources, you need to start from very basic scripts... like the script to get your coords and save them in a file. Wiki and the basics tutorial is what you need. - https://forum.multitheftauto.com/viewtop ... 91&t=25032 - https://wiki.multitheftauto.com/index.ph ... =Main_Page
  10. Almost every resource made by me has a thread on the forum here... THIS is the place to report modshop bugs. You must have read the description of the modshop before you downloaded it from community site and there is that link pointing to the the thread. It's a well known bug if you're running MTA 1.0 server. Unfortunately, I have absolutely no time to fix it. My priceless time is taken by life and MTA:Script Editor. If anyone is willing to help and fix it then do so and send me the fixed version. Thanks in advance.
  11. It seems that working with teams for some people is confusing. I have no idea why though. Tell us, what you've had problems with? Any error/warning messages? BTW, use debug window for debugging. It will show you every error and warning messages.
  12. 50p

    Ped fire

    She shakes because that's the animation for shooting. That usually happens when ped has no ammo.
  13. https://community.multitheftauto.com/index.php?p= ... ils&id=124
  14. 50p

    Help!!!!

    I suggest you use SA Cam Hack, use a script that can be found in "fallout" resource or map editor.
  15. 50p

    Scoreboard

    As far as I know, scoreboard updates board with onClientElementDataChange event, that is whenever element data is changed (client must know about it)... You're not syncing player's "Money" data with client so scoreboard will not be updated at all.
  16. subenji99, As far as I know "\n" is just 1 byte therefore you'd move back to "\r\n" (if it was windows format) or "X\n" (where X is the last character at the last line). Also, I do not recommend using backslash (\) in file paths... Because that's escape character (of course you can use \\ to escape backslash...) and would only work on windows which is not a good idea. Use forward slash (/) instead. It solves the previously mentioned problem. Besides wait for reply from the author of the topic to find out what he's trying to do. Maybe he's attempting to do something that would be more comfortable with XML or SQLite.
  17. Leave the Lua "file" library alone. You can't even call its functions due to MTA protection... That's why you have file functions.
  18. You can read some amount of bytes and check if the returned string contains "\r\n" or "\n" or "\r" (depends on which OS the file was saved) with string.find() What are you trying to do anyway? File functions aren't comfortable to use. There might be better way if you just say what you want to achieve.
  19. https://wiki.multitheftauto.com/index.ph ... FileSetPos AFAIK, MTA disabled Lua's file library.
  20. You can't count on it. The chances that it will be added in the future are very low.
  21. That's not lame. Go play SA-MP and play no sounds at all... that's called lame.
  22. OK, people. You can now select your MTA Server path in the Options window... have fun robhol. For more information on updates see the changelog in the first post.
  23. I'm with robhol on this one. A person like me works on several different projects - i work with a dedicated server, the resources svn, and the editor. I have three seperate resource directories for each of them, which i interchange depending on what i'm working on. Why don't you keep them all in the default resources folder? You know which resource is which so it shouldn't make any difference.
  24. They were removed due to redesign in the past (even before 0.1a) and weren't added yet. You're not the first who asked about it so I guess I'll add it soon.
  25. Freeze the vehicle for a second or 2, set its position and then after those 2 seconds unfreeze it. setVehicleFrozen( vehicle, true ); setElementPosition( vehicle, x, y, z ); setTimer( setVehicleFrozen, 1500, 1, vehicle );
×
×
  • Create New...