Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. You may be able to use dzek's mass map mover tool: http://mta.dzek.eu/mmove/
  2. As far as I know, you must use shaders to replace them, here's a resource which does it: https://community.multitheftauto.com/in ... ls&id=2730 you could take it as example to make your own.
  3. There's no point on looping the table, it can be done like this: local ranks = { 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100 } addEventHandler ( "onPlayerWasted", root, function ( ) local reward = ranks [ exports [ "race" ]:getPlayerRank ( source ) ] if ( reward ) then givePlayerMoney ( source, reward ) end end )
  4. Is not a command from votemanager, is from the "race" resource.
  5. No se necesita ningun video para utilizarlo, es demasiado facil.
  6. Te referis a los multi game mode para race, tipo FFS, TG?
  7. Ese script esta bien, tiene que funcionar.
  8. addCommandHandler ( "c", function ( player, command, accnt ) local new = dbQuery ( dbc, "SELECT name FROM Accounts WHERE name=?", accnt ) local result = dbPoll ( new, - 1 ) if ( type ( result ) == "table" and #result == 0 or not result ) then outputChatBox ( "Not in table" ) else outputChatBox ( "In table" ) end end )
  9. That's because: You must use: dbQuery
  10. addEventHandler ( "onClientGUIClient", mp5, mp55, false ) pusiste "mp5", pero tu variable es "MP5", recuerda que Lua es case-sensitive.
  11. Podes usar las funciones de texto server side.
  12. You can try to do that, yes.
  13. I think every resource has an own cursor controller.
  14. Ese script es client side, asi cuando este descargando los recursos no se vera.
  15. If that's what he want, then Jacob's code should work.
  16. viewtopic.php?f=148&t=40809
  17. I don't understand what do you mean.
  18. Pusiste mal el evento, "onClientGUIClient" tiene que ser "onClientGUIClick".
  19. You mean a object created by createObject? if so, then you can use element data, or a table.
  20. Just send the items table returned from the SQLite query and loop it client side.
×
×
  • Create New...