Jump to content

EstrategiaGTA

Members
  • Posts

    684
  • Joined

  • Last visited

Everything posted by EstrategiaGTA

  1. Aww, that's a pity, D&G was a cool guy I guess G-Stefan can handle the job and he's the most active one, then?
  2. EstrategiaGTA

    Help.

    setPedControlState Actually his English seems better than yours so you can't really blame him for it. Even if you had a better English it's still bad to blame anyone because of their English skills. PS: it's translator. Traductor en español.
  3. getElementPosition getDistanceBetweenPoints3D destroyElement setTimer
  4. Busca el resource customblips.
  5. function replaceModel() txd = engineLoadTXD("hunter.txd", 425 ) engineImportTXD(txd, 425) dff = engineLoadDFF("hunter.dff", 425 ) engineReplaceModel(dff, 425) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) Es que estabas importando el DFF como TXD, te liaste
  6. function destruirV ( ) for _, v in ipairs (getElementsByType("vehicle")) do if not getVehicleOccupant (v) then destroyElement (v) end end end local tiempo = 60 -- segundos. setTimer (destruirV, tiempo * 1000, 0) Usa onPlayerLogout para lo del logOut.
  7. You could also use: unpack (table) Instead of: table[1], table[2] --... local positions = { -- {x,y,z[,rot]}, } function randomSpawn(player) local postab = positions[math.random(1,#positions)] local x,y,z,rot = unpack (postab, 1, 3) local rot = postab[4] or 0 spawnPlayer(player,x,y,z,rot) end
  8. ¿source es un jugador o un vehículo...?
  9. Para eliminar el DX usa: removeEventHandler
  10. Además has de tener en cuenta que, por ejemplo, si tú diseñas la posición con respecto a una resolución 4:3 en una 16:9 se verá diferente.
  11. Pasas el vehículo como el source del evento como hizo Tomás arriba y ya
  12. You're welcome ! Probably it's a problem from your server (its scripts), because else it's so weird that it works in one server and doesn't work in the other. Make sure you set this as server side in the meta.xml.
  13. There you have. For your further scripts keep in mind that "local" only applies to your block code, so you should destroy that variable inside it. Else, just don't use "local".
  14. guiComboBoxGetItemText guiComboBoxGetSelected
  15. Do you even understand English? This does not fit in this sub-forum, you should go and request a moderator to move the topic instead of winking us
  16. Well, keep looking because that's the source of your problem.
  17. local dodo1 = createVehicle ( 593, -3413.4, -65.5, 18, 0, 0, -90 ) function respawn_dodo() if source == dodo1 then setTimer(respawnVehicle, 5000, 1, source) end end addEventHandler("onVehicleExplode", root, respawn_dodo)
  18. How can you be that racist and literally insult all of the Spaniards on these boards like that? If you hate them because Spanish is too hard for you go and learn some Spanish instead of being a racist fucktard in the background. I am Spanish btw.
×
×
  • Create New...