Jump to content

dolmen62

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dolmen62

  • Rank
    Rat
  1. Tu souhaite lister tout les véhicules du serveur ? Veux-tu des données sauvegardées ? (Base de données) Car sinon une simple boucle suffit ! function carlist () local tablecar = {{car}} local cars = getElementsByType( "vehicle" ) for k, veh in ipairs( carrs ) do tablecar[k] = {car=veh} end
  2. dolmen62

    Train System?

    Yes ! But I've tryed everything and nothing work without client. It work great because it use only the best Ping client.
  3. Hello ! Now I want to finish it ! I've work on other script now and I know a lot of things. The train script is impossible to read ! its Amazing ! I've seen some big error! Well, It need to be optimized. And the last problems is when there is nobody in the server and the start up of the train that need a player next to the train !
  4. dolmen62

    Train System?

    I've made a train system ! But I have problem when nobody is in the server. The train stop in the Stations ! And it's automatic, nobody have to drive it. But it's very very laggy, and something went wrong when nobody is in the server.
  5. Moi j'ai connu MTA avant SA:MP. Et la première fois que j'y ai joué (pour voir la différence) c'est au niveau de la personnalisation que j'ai trouvé MTA meilleur. En effet, SA:MP conserve énormément de choses du jeu original. (Un bon exemple, le chargement de démarrage, ou encore les couleurs de véhicules, qui sont entièrement personnalisée dans MTA). Voilà une petite remarque sans argumenter des pages (je ne suis pas expert ).
  6. Bug found ! when there is no player in the server ! I'm working to repare it. I will make a vidéo soon.
  7. It is finish now, this is the first version, before MTA 1.1 Thank you all for your help, Citizen, CrystalMV, Solidsnake14.
  8. I need to program station now. But timer are not presise it change in function of the processor charge.
  9. Thank you !!! It work great now !!! Now I have to program station ^^
  10. Well, I've a new idea. view my code : It don't work. Client Side : addEvent("removeStreamableLocos", true ) function removeStreamableLocos( theElement ) setElementStreamable( getElementByID( "loco1" ), false ) setElementStreamable( getElementByID( "wagon1" ), false ) setElementStreamable( getElementByID( "pilot1" ), false ) setElementStreamable( getElementByID( "pilot2" ), false ) end addEventHandler("removeStreamableLocos", getRootElement(), removeStreamableLocos ) addEvent("getTrain", true ) function getTrain () local x, y, z = getElementPosition(getElem
  11. I have an Idea : refresh coordinates only when the train is in the station.
  12. It don't work, I have error, when i want to setElement Position !
  13. No... Ok I will try ! But how to execute the function, only for the nearest player ?
  14. I don't think I will use that, because, it's to laggy. I'm working on a system of marker, to put the player into the train. But only when it is here "if nextgare == number of the station "
×
×
  • Create New...