Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Funciones

    No, la lluvia caeria en todos lados. No existe una manera de hacer llover solo en una parte.
  2. Castillo

    Funciones

    Lo que podrias hacer es, crear un colshape, al entrar en el, cambiar el nivel de lluvia con: setRainLevel
  3. alpha = 255 function updateAlpha ( ) alpha = ( alpha > 0 and alpha - 1 or 255 ) end setTimer ( updateAlpha, 500, 0 ) That'll decrease by 1 the alpha variable. I removed the "guiSetAlpha" because your code has no GUI elements at all, I guess is all DirectX ( DX ), so you need to use the "alpha" variable on tocolor at your drawing function.
  4. That's obviously wrong, it doesn't make any sense.
  5. Create a variable, like this: alpha = 255 And use it for your drawing, then you update the variable, and it'll update the drawing alpha since it's drawn with onClientRender.
  6. You must have created the scrollPane wrong, because I used it many times and it worked.
  7. Depends if you are using GUI or DX, with GUI you use: guiSetAlpha setTimer And with DX you create a variable and update it.
  8. Castillo

    WebFig pass

    I guess it requires your modem password.
  9. https://community.multitheftauto.com/ind ... ls&id=6311 Original: https://community.multitheftauto.com/ind ... ls&id=1514 DONE
  10. You can remove these two tables manually via SQLitebrowser ( google it ), they are inside "registry.db" on your server folder.
  11. After you executed both, restart the gang system.
  12. If you have runcode, execute this on server side ( /run ): executeSQLQuery ( "DROP TABLE gangs" ) executeSQLQuery ( "DROP TABLE gang_members" )
  13. It shouldn't appear if everything is alright, are you sure it doesn't output errors?
  14. It worked today, that error appears when it fails to insert to table.
  15. Check the debugscript, see if it output an error.
  16. Check the debugscript, see if it output an error. P.S: You mean when creating a gang or when setting the color?
  17. Castillo

    Simple Help

    function destroyElement () destroyElement(myBlip) end addEventHandler ( "onPlayerQuit", getRootElement(), destroyElement ) You are creating an stack overflow. function destroyElement_ () destroyElement(myBlip) end addEventHandler ( "onPlayerQuit", getRootElement(), destroyElement_ )
  18. Castillo

    [HELP]Stat

    guiSetText(Cars, "Cars Destroyed: " ..car.. ) guiSetText(Helicopters, "Helicopters Destroyed: " ..heli.. ) guiSetText(Boats, "Boats Destroyed: " ..Boat.. ) guiSetText(BikeSkills, "Bike Skills: " ..Bike.. ) guiSetText(CycleSkills, "cycle Skills : " ..cycle.. ) guiSetText(Muscles, "Your Muscles: " ..Muss.. All the dots before ")" shouldn't be there, remove them.
  19. No, muchas imagenes, son sprites, si no sabes que son, buscalo en google, yo ya me aburri de explicarlo.
  20. SON MUCHAS IMAGENES, NO SOLO UNA.
  21. https://community.multitheftauto.com/ind ... ls&id=6309 Original: https://community.multitheftauto.com/ind ... ls&id=1514 DONE
  22. No, executeSQLQuery is for the built-in SQLite of MTA, you must use: dbExec
  23. meta.xml: "images/flag_arg0.png" /> "images/flag_arg1.png" /> "images/flag_arg2.png" /> "images/flag_arg3.png" /> script: gif = dxDrawGifImage ( 769, 175, 193, 145, "images/flag_arg", 0, "png", 600 )
  24. Your script loaded the team when respawn from "team" element data, you had forgot to set it when they choose drift team, so I added this after you set the drift team: setElementData ( source, "team", getTeamName ( Drift ) )
×
×
  • Create New...