Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. We need more information, do you get any debug error? to check that write: "/debugscript 3" in the chat when logged as Admin.
  2. A free scripter is impossible to find here, so, if you are not offering money, I doubt anyone will be interested.
  3. giveWeapon es una funcion que solo se puede usar server side, osea que tienes que ejecutar un evento del server side con: triggerServerEvent Y agregarlo server side con: addEvent addEventHandler Y ahi le das el arma y le quitas el dinero.
  4. Yeah, should be fine, could you upload the whole resource to mediafire.com and post the link?
  5. Post the new meta.xml.
  6. You forgot to load the TXD ( texture ) files in the meta.xml.
  7. I don't understand the problem, could you explain yourself better?
  8. You can use this resource: https://community.multitheftauto.com/ind ... ils&id=169
  9. If there is no download link, then is not used anymore.
  10. You have to define the arguments server side. Client side: triggerServerEvent ( "onLogin", localPlayer, username_editbox, password_editbox ) Server side: function login_seq ( username, password ) local username = mysql_query ( handler, "SELECT account_name FROM account_info WHERE account_name = ".. username .."" ) local password = mysql_query ( handler, "SELECT account_password FROM account_info WHERE account_password = ".. password .."" ) if ( username and password ) then spawnPlayer ( client, 1687.7318115234, 1448.0688476563, 10.768267631531, -90, 0, 0 ) setCameraTarget ( client, client ) setElementDimension ( client, 0 ) end end addEvent ( "onLogin", true ) addEventHandler ( "onLogin", root, login_seq ) P.S: You also had a missing 'end' to close the 'if' statement.
  11. Castillo

    Help

    If you just started, then you may want to start with something simpler.
  12. No, is not possible.
  13. Castillo

    Help

    Use: getElementsByType getPlayerMoney table.sort outputChatBox
  14. Are you sure that the colshape is really there? Also, make sure you set the script as server side.
  15. Castillo

    Colorpicker

    When I used it, I never had to use that.
  16. Castillo

    Colorpicker

    You're welcome.
  17. Castillo

    Colorpicker

    You open it like this: colorPicker.openSelect ( currentColor ) And to close it: colorPicker.closeSelect ( ) With this you get the current color ( as far as I know ): r, g, b = colorPicker.updateTempColors ( )
  18. Errors or anything in the debugscript? what is the exact problem?
  19. You're welcome.
  20. You are using mysql in a client side script, mysql is server side only.
  21. Castillo

    Colorpicker

    Of what colorpicker are you talking about?
  22. It also redirects me to that link, I guess we have to wait until it get's fixed.
  23. guiCreateWindow addCommandHandler guiSetVisible
  24. Place it as a resource on the 'server' folder 'resources' folder with a meta.xml.
  25. onVehicleStartEnter cancelEvent And if your gang is set as element data: getElementData
×
×
  • Create New...