Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. It's a MD5 hash of the file size.
  2. I mean the part where that table is used.
  3. Well, if you posted the code which uses that table, then we can tell you what is it for.
  4. They are md5 hashes. From where did you get that code from?
  5. Of course you'll have the same problem, you edited the code Xeon gave you. It has to be:
  6. You need to check if the element that hit the colshape is a player using getElementType.
  7. SQL. XML is slow for a lot of data.
  8. Show us the script, or else we can't help you.
  9. What exactly should these areas do? kill the zombies when they go in? You'll need colshapes to achieve that: https://wiki.multitheftauto.com/wiki/Se ... _functions and killPed
  10. You mean that you want to draw something in a world position, but you want it to keep the same scale?
  11. You don't know how to add the textures to the mod or how to replace them in MTA?
  12. You mean set the camera position to look at a location? setCameraMatrix isTransferBoxActive setTimer
  13. Show us the code, how else can we help you? My first guess, is that you are creating the font on every render.
  14. Create a colshape, and use a timer to get all players inside it to give the money. createColRectangle getElementsWithinColShape givePlayerMoney setTimer By the way, this has to be server side, not client side.
  15. onClientElementDataChange
  16. And where is the script which lets the player change the car mass?
  17. We don't give support with leaked scripts. Topic locked.
  18. First one is almost correct, the problems I see are: 1º You forgot the quotes in the strings, instead of: if k == movsteer then you should do: if ( k == "movsteer" ) then And, your "strwh_type" variable is local, which means it won't exist outside that 'if' statement.
  19. Castillo

    Trailer script

    No, there isn't, as far as I know.
  20. Castillo

    Parameters

    Use the wiki, it has almost everything.
  21. It's just a object attached to the car. You need to get the sirens object, then replace it with a object. And then to attach it: createObject attachElements
  22. You need to use the onClientGUIClick event and the guiSetVisible function.
  23. Do you have a resource called "mysql" and is it running?
×
×
  • Create New...