Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Race "pickups" aren't created by the MTA pickup functions, they are custom made.
  2. Castillo

    Help

    getAccount addAccount logIn And for guest, just hide the login GUI.
  3. If he wants for the in-game players only, then he should use getElementsByType, and not getAccounts.
  4. Castillo

    help

    You're welcome.
  5. Castillo

    help

    The problem is that you forgot to add the "replaces/" on the path. function replaceModel() txd = engineLoadTXD("replaces/infernus.txd") engineImportTXD(txd, 411) dff = engineLoadDFF("replaces/infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
  6. Columns get created when you create the table, and if it worked on my script, it also has to work on yours.
  7. Castillo

    help

    Does the script even load? what's the problem?
  8. I'm not sure, but I think the only way is killing the timer and starting it again.
  9. Castillo

    help

    Post the meta.xml content.
  10. Castillo

    HELP ME ;(

    He's asking for these two servers only.
  11. Para eso lo que podrias hacer es pegarle un colshape al bot, y al entrar un elemento en el colshape, si es un vehiculo, lo haces explotar.
  12. That won't make any difference.
  13. Si, pero no dispara, osea que no se envia ese evento.
  14. I don't think you can attach it, but you can create it on the same position. mar = createMarker(1289.0939941406, -1647.5231933594, 12.546875, "cylinder", 1.8, 0, 0, 57, 150); addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function() exports.customblips:createCustomBlip ( 1289.0939941406, -1647.5231933594, 10, 10, "icon.png" ) end )
  15. No existe ningun evento para eso, lo unico que podes detectar son los disparos usando el evento onClientPlayerWeaponFire.
  16. Make sure you put the script as server side.
  17. Read this: https://wiki.multitheftauto.com/wiki/Se ... our_server
  18. "localPlayer" es una variable del MTA, no hace falta definirla. @Plate: Porque no lo probas y listo?
  19. addEventHandler("onPlayerLogin", root, function ( _, account ) local accName = getAccountName ( account ) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) outputChatBox ( " ", source, 255,0,0) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Vip" ) ) then outputChatBox ( "#4200FF Voce e um VIP!", source, 255,0,0) outputChatBox ( "#4200FF Para ver seus comandos, use #ff0000 /ajudavip", source, 255,0,0) outputChatBox ( "#4200FF E para ver os comandos do servidor: #ff0000 /ajuda", source, 255,0,0) else outputChatBox ( "#4200FF Compre sua base+vip por apenas RS5.00", source, 255,0,0) outputChatBox ( "#4200FF Add skype: devildead622 e confira!", source, 255,0,0) outputChatBox ( "#4200FF Para ver os comandos do servidor: #ff0000 /ajuda", source, 255,0,0) end end )
×
×
  • Create New...