Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Well, that's correct, but your code is so wrong. Weaponshop1 = createMarker ( 1368, -1279.8, 12.7, "cylinder", 1.5, 255, 255, 255, 255 ) function warpinto1 ( theMarker ) if ( theMarker == Weaponshop1 ) then setElementInterior ( source, 1, 286, -40, 1001 ) end end addEventHandler ( "onPlayerMarkerHit", root, warpinto1 )
  2. It's obviously not added.
  3. Add the resource to the admin group at acl.xml.
  4. Just download latest MTA, it should include latest resources.
  5. As I said, that's an incomplete multi-gamemode script, you must make the rest, or ask whoever gave it to you.
  6. That's because the first argument of "onPlayerMarkerHit" is the marker the player hit, not the player that hit the marker. Weaponshop1 = createMarker ( 1368, -1279.8, 12.7, "cylinder", 1.5, 255, 255, 255, 255 ) function warpinto1 ( ) setElementInterior ( source, 1, 286, -40, 1001 ) end addEventHandler ( "onPlayerMarkerHit", root, warpinto1 )
  7. Yes, exactly, and the script must be set as server side on the meta.xml.
  8. What's the point of getting "moderator" rights? I really don't get your point.
  9. What do you mean? just get latest resource files and replace your current with these.
  10. "onPlayerMarkerHit" is a server side event, and the way you add the event handler is wrong, change 'Weaponshop1' with 'root'.
  11. You don't have to write anything, the editor will do it all.
  12. Se ve que no me entendiste. El problema esta en estas dos lineas: elseif (getElementType(killer) == "player") and (killer) and (killer ~= source) and not (getPlayerNametagText (source) == "[COP]" .. getPlayerName (source)) then elseif (getElementType(killer) == "player") and (killer) and (killer ~= source) and (getPlayerNametagText (source) == "[COP]" .. getPlayerName (source)) then vos estas intentando obtener el tipo de elemento del argumento "killer", pero primero tenes que verificar si ese elemento existe, osea que cambias de lugar la primera parte con la segunda parte, asi: elseif ( killer and killer ~= source ) and ( getElementType ( killer ) == "player" ) and ( getPlayerNametagText ( source ) ~= "[COP]" .. getPlayerName ( source ) ) then Esa es la linea 7, hace lo mismo con la linea 9.
  13. Vas a tener que editar como sea que cambias el proximo mapa, asi tambien cambias el texto ese.
  14. Castillo

    HELP ME - F8

    I'm not sure if you can actually disable the client console, on which server did you see this?
  15. To fix these errors, simply stop "race".
  16. We don't accept requests here, learn to do it by yourself or pay someone to do it for you.
  17. You obviously got two systems saving/loading weapons.
  18. That's because is not a complete multi-gamemode, it only has one. Also, these errors are because you started 'race', you don't have to.
  19. Cual es el problema exactamente? tiene algun error en el debug? pasame el link del recurso.
  20. Podes hacerlo de varias maneras: 1: Creas una tabla con los nombres de las gangs y el skin. 2: Usa if's para verificar cada uno.
  21. Eso es porque estas verificando primero el tipo de argumento, y luego si de verdad existe, hacelo alrevez.
  22. No, that's a different game mode.
×
×
  • Create New...