Madalin Posted December 3, 2014 Share Posted December 3, 2014 Salut , asi vrea si eu un script de unmodallvehicles ( sa scoata toate modurile deodata) si modallvehicles ( sa puna toate modurile) daca ma puteti ajuta.Multumesc. Link to comment
Strike27208 Posted December 5, 2014 Share Posted December 5, 2014 Poftim : ----CLIENT----- function mod() ---Elegant local ElechangeTXD = engineLoadTXD ("vehicles/elegant.txd") local ElechangeDFF = engineLoadDFF ("vehicles/elegant.dff") engineImportTXD ( ElechangeTXD, 507 ) engineReplaceModel (ElechangeDFF, 507) ---Infernus local InfchangeTXD = engineLoadTXD ("vehicles/infernust.txd") local InfchangeDFF = engineLoadDFF ("vehicles/infernus.dff") engineImportTXD ( InfchangeTXD, 411 ) engineReplaceModel (InfchangeDFF, 411) end addCommandHandler ( "loadMods", mod ) function unloadMod () ---Elengat local exists = fileExists ( "vehicles/elegant.txd" ) if exists then engineRestoreModel ( 507 ) end ---Infernus local exists = fileExists ( "vehicles/infernus.txd" ) if exists then engineRestoreModel ( 411 ) end end addCommandHandler ( "unloadMods", unloadMod ) Treaba asta merge simplificata dar acum chiar nu stiu cum..am sa incerc sa o fac mai simpla pana atunci foloseste asta. Dar iti zic ,acest script este foarte periculos din cauza ca multi ar putea lua crash daca toate masinile sunt incarcate deodata. Acest script este bunt pentru 1 - 5 masini. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now