Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Small Problem

    It seems like "GuiGetBuyText1" is nil. Also, guiGridListGetItemText returns a string, not a number, use tonumber ( ) to convert it.
  2. It means the script is already encrypted.
  3. Castillo

    add skin

    The skin IDs can be found in the modloader/data.lua. "bmybe" skin ID is 18.
  4. You can't disable music in a per interior basis, if you disable them, it's global. setInteriorSoundsEnabled ( false )
  5. Castillo

    add skin

    You can use this resource: https://community.multitheftauto.com/in ... ls&id=3016 Or, if you want to do it yourself, then you must use the following functions: engineLoadDFF engineLoadTXD engineImportTXD engineReplaceModel
  6. 1. It's quite simple, since the code is client side, you use "localPlayer". 2. Is 'thePlayer' defined? check what 'dbid' returns. 3. It's because 'pid' is a nil value, it has no data in it. About the checkpoints, I think you can do somethling like: #blueBerryRally == ciga
  7. Castillo

    add skin

    I really don't get what do you mean, manve. @modey: You want to replace a skin texture/model with another?
  8. You want to create a table with coordinates and everytime you hit it, it creates the next one?
  9. You want to respawn the vehicle 50 seconds after it exploded?
  10. Make sure the event handler is attached to the resource root element, and not to root.
  11. 1: You can't do it in a easy way, but it is possible by disabling the fire control: toggleControl. 2: You can use my "extra_health" resource to increase the player health: https://community.multitheftauto.com/in ... ls&id=5195 3: You can, you can check game time using getTime and a timer ( setTimer ) to do it constantly. 5: Well, you can do pretty much everything you want, if you have the knowledge to do it.
  12. Im sure its like that, because a few servers have this and you won't be able to join till you put this anim in the san andreas. But will it be possible? i heard that the mta community/developers are working on it? Custom animations aren't their main priority as far as I know, but I guess someday, they'll be possible.
  13. Castillo

    Bloq Mays

    You can't, as far as I know.
  14. I would love to see your... "gamemode". P.S: I would avoid the insults if I were you. It's your own fault that you got yourself banned from my community.
  15. Castillo

    HELP pliz

    That doesn't make any sense. Tables aren't defined using brackets ( [ ] ), you must use { }.
  16. You can't use custom animations in MTA, maybe the person who took the screenshot installed the animation on his GTA SA.
  17. We don't give support with leaked scripts. Topic locked.
  18. Is triggered 2 times because that's how your script works, when you reset the value to "false", you should also destroy the GUI if exists.
  19. But, there's no need to do that, you can use the function guiSetText.
  20. Well, you're obviously creating the GUI everytime, instead of setting it visible.
  21. You don't have permission to use this script, as I scripted it for a server, which then an staff leaked the scripts to public. Topic locked.
  22. Are you getting an error in the console/debugscript saying "access denied @ addAccount"? if so, then the problem is that you didn't add the resource to the "Admin" ACL group.
  23. You can create a blur effect with shaders.
  24. Well, you put it to show to everyone, since you're triggering the client side event "showRaceInfo" to getRootElement.
×
×
  • Create New...