Jump to content

Imposter

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by Imposter

  1. Well here is the crash log Version = 1.3.1-release-5059.0.000 Time = Sun Feb 17 14:59:21 2013 Module = C:\Games\GTA San Andreas\gta_sa.exe Code = 0xC0000005 Offset = 0x001371AC EAX=00749100 EBX=0028F480 ECX=00000000 EDX=D1FC4D58 ESI=311C28BC EDI=00000000 EBP=05E57C60 ESP=0028F414 EIP=005371AC FLG=00010246 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
  2. Hey guys, I've recently tried to load models into MTA, but I get a crash when these are loaded, when I remove a few it doesn't, I don't believe there is a limit on reading them, but I think it crashes while loading them all at the same time, is there a way I can make them load after an interval? (timers don't work) Like the Airplanes Load, then after 5 seconds the Helis Load? The meta is correct, and the files exist. Any Idea? function onClientResourceStart() outputChatBox("LOADING CUSTOMS!!!!") triggerEvent("showScreen", root, "Loading Game Models...") loadSkins() loadAirplanes() loadHelicopters() loadCars() loadTrucks() loadWeapons() triggerEvent("hideScreen", root) end addEventHandler("onClientResourceStart", resourceRoot, onClientResourceStart) function loadSkins() outputChatBox("Loading Skins...") --Skins txd = engineLoadTXD("data/skin_mercenary2.txd") engineImportTXD(txd, 287) dff = engineLoadDFF("data/skin_mercenary2.dff", 287) engineReplaceModel(dff, 287) txd = engineLoadTXD("data/skin_Barney_Ross.txd") engineImportTXD(txd, 81) dff = engineLoadDFF("data/skin_Barney_Ross.dff", 81) engineReplaceModel(dff, 81) outputChatBox("Done Loading Skins...") end function loadAirplanes() outputChatBox("Loading Airplanes...") --Airplanes txd = engineLoadTXD("data/airplane_Lockheed_Martin_F35.txd") engineImportTXD(txd, 520) dff = engineLoadDFF("data/airplane_Lockheed_Martin_F35.dff", 520) engineReplaceModel(dff, 520) txd = engineLoadTXD("data/airplane_Boeing_747.txd") engineImportTXD(txd, 592) dff = engineLoadDFF("data/airplane_Boeing_747.dff", 592) engineReplaceModel(dff, 592) outputChatBox("Done Loading Airplanes...") end function loadHelicopters() outputChatBox("Loading Helicopters...") --Helicopters txd = engineLoadTXD("data/helicopter_Kasatka_KA60.txd") engineImportTXD(txd, 563) dff = engineLoadDFF("data/helicopter_Kasatka_KA60.dff", 563) engineReplaceModel(dff, 563) outputChatBox("Done Loading Helicopters...") end function loadCars() outputChatBox("Loading Cars...") --Cars txd = engineLoadTXD("data/car_Ford_GT_05.txd") engineImportTXD(txd, 541) dff = engineLoadDFF("data/car_Ford_GT_05.dff", 541) engineReplaceModel(dff, 541) txd = engineLoadTXD("data/car_Lamborghini_Gallardo_05.txd") engineImportTXD(txd, 411) dff = engineLoadDFF("data/car_Lamborghini_Gallardo_05.dff", 411) engineReplaceModel(dff, 411) txd = engineLoadTXD("data/car_Bugatti_Veyron_16_4_GS_11.txd") engineImportTXD(txd, 415) dff = engineLoadDFF("data/car_Bugatti_Veyron_16_4_GS_11.dff", 415) engineReplaceModel(dff, 415) txd = engineLoadTXD("data/car_Chevrolet_Camaro_SS_67.txd") engineImportTXD(txd, 549) dff = engineLoadDFF("data/car_Chevrolet_Camaro_SS_67.dff", 549) engineReplaceModel(dff, 549) txd = engineLoadTXD("data/car_Chrystler_300S_Hemi_08.txd") engineImportTXD(txd, 517) dff = engineLoadDFF("data/car_Chrystler_300S_Hemi_08.dff", 517) engineReplaceModel(dff, 517) txd = engineLoadTXD("data/car_Dodge_Viper_GTSR_12.txd") engineImportTXD(txd, 542) dff = engineLoadDFF("data/car_Dodge_Viper_GTSR_12.dff", 542) engineReplaceModel(dff, 542) txd = engineLoadTXD("data/car_Nissan_GTR_12.txd") engineImportTXD(txd, 451) dff = engineLoadDFF("data/car_Nissan_GTR_12.dff", 451) engineReplaceModel(dff, 451) txd = engineLoadTXD("data/car_Mitsubishi_Lancer_EVO_08.txd") engineImportTXD(txd, 506) dff = engineLoadDFF("data/car_Mitsubishi_Lancer_EVO_08.dff", 506) engineReplaceModel(dff, 506) txd = engineLoadTXD("data/car_Mitsubishi_FTO_97.txd") engineImportTXD(txd, 558) dff = engineLoadDFF("data/car_Mitsubishi_FTO_97.dff", 558) engineReplaceModel(dff, 558) txd = engineLoadTXD("data/car_Toyota_Vellfire_99.txd") engineImportTXD(txd, 413) dff = engineLoadDFF("data/car_Toyota_Vellfire_99.dff", 413) engineReplaceModel(dff, 413) txd = engineLoadTXD("data/car_Toyota_Supra_98.txd") engineImportTXD(txd, 477) dff = engineLoadDFF("data/car_Toyota_Supra_98.dff", 477) engineReplaceModel(dff, 477) txd = engineLoadTXD("data/car_Mercedes_560_SEL_86.txd") engineImportTXD(txd, 533) dff = engineLoadDFF("data/car_Mercedes_560_SEL_86.dff", 533) engineReplaceModel(dff, 533) txd = engineLoadTXD("data/car_Audi_R8_TDI_08.txd") engineImportTXD(txd, 587) dff = engineLoadDFF("data/car_Audi_R8_TDI_08.dff", 587) engineReplaceModel(dff, 587) outputChatBox("Done Loading Cars...") end function loadTrucks() outputChatBox("Loading Trucks...") txd = engineLoadTXD("data/truck_Mercedes_Benz_Actros.txd") engineImportTXD(txd, 514) dff = engineLoadDFF("data/truck_Mercedes_Benz_Actros.dff", 514) engineReplaceModel(dff, 514) txd = engineLoadTXD("data/truck_WesternStar_4900.txd") engineImportTXD(txd, 515) dff = engineLoadDFF("data/truck_WesternStar_4900.dff", 515) engineReplaceModel(dff, 515) txd = engineLoadTXD("data/truck_Mack_Vision.txd") engineImportTXD(txd, 403) dff = engineLoadDFF("data/truck_Mack_Vision.dff", 403) engineReplaceModel(dff, 403) outputChatBox("Done Loading Trucks...") end function loadWeapons() outputChatBox("Loading Weapons...") --Weapons --[[ --]] txd = engineLoadTXD("data/weapon_ak47.txd") engineImportTXD(txd, 355) dff = engineLoadDFF("data/weapon_ak47.dff", 355) engineReplaceModel(dff, 355) txd = engineLoadTXD("data/weapon_bat.txd") engineImportTXD(txd, 336) dff = engineLoadDFF("data/weapon_bat.dff", 336) engineReplaceModel(dff, 336) --[[ txd = engineLoadTXD("data/weapon_chromegun.txd") engineImportTXD(txd, 349) dff = engineLoadDFF("data/weapon_chromegun.dff", 349) engineReplaceModel(dff, 349) --]] txd = engineLoadTXD("data/weapon_m4.txd") engineImportTXD(txd, 356) dff = engineLoadDFF("data/weapon_m4.dff", 356) engineReplaceModel(dff, 356) txd = engineLoadTXD("data/weapon_micro_uzi.txd") engineImportTXD(txd, 352) dff = engineLoadDFF("data/weapon_micro_uzi.dff", 352) engineReplaceModel(dff, 352) txd = engineLoadTXD("data/weapon_mp5lng.txd") engineImportTXD(txd, 353) dff = engineLoadDFF("data/weapon_mp5lng.dff", 353) engineReplaceModel(dff, 353) txd = engineLoadTXD("data/weapon_rpg.txd") engineImportTXD(txd, 359) dff = engineLoadDFF("data/weapon_rpg.dff", 359) engineReplaceModel(dff, 359) txd = engineLoadTXD("data/weapon_shotgspa.txd") engineImportTXD(txd, 351) dff = engineLoadDFF("data/weapon_shotgspa.dff", 351) engineReplaceModel(dff, 351) txd = engineLoadTXD("data/weapon_tec9.txd") engineImportTXD(txd, 372) dff = engineLoadDFF("data/weapon_tec9.dff", 372) engineReplaceModel(dff, 372) txd = engineLoadTXD("data/weapon_grenade.txd") engineImportTXD(txd, 342) dff = engineLoadDFF("data/weapon_grenade.dff", 342) engineReplaceModel(dff, 342) outputChatBox("Done Loading Weapons...") end <meta> <script src="c_customs.lua" type="client" /> <!-- SKINS --> <file src="data/skin_Mercenary1.txd" type="client" /> <file src="data/skin_Mercenary1.dff" type="client" /> <file src="data/skin_Mercenary2.txd" type="client" /> <file src="data/skin_Mercenary2.dff" type="client" /> <file src="data/skin_Mercenary3.txd" type="client" /> <file src="data/skin_Mercenary3.dff" type="client" /> <file src="data/skin_Mercenary4.txd" type="client" /> <file src="data/skin_Mercenary4.dff" type="client" /> <file src="data/skin_Mercenary5.txd" type="client" /> <file src="data/skin_Mercenary5.dff" type="client" /> <file src="data/skin_Mercenary6.txd" type="client" /> <file src="data/skin_Mercenary6.dff" type="client" /> <file src="data/skin_Barney_Ross.txd" type="client" /> <file src="data/skin_Barney_Ross.dff" type="client" /> <!-- AIRPLANES --> <file src="data/airplane_Lockheed_Martin_F35.txd" type="client" /> <file src="data/airplane_Lockheed_Martin_F35.dff" type="client" /> <file src="data/airplane_Boeing_747.txd" type="client" /> <file src="data/airplane_Boeing_747.dff" type="client" /> <!-- HELICOPTERS --> <file src="data/helicopter_Kasatka_KA60.txd" type="client" /> <file src="data/helicopter_Kasatka_KA60.dff" type="client" /> <!-- CARS --> <file src="data/car_Ford_GT_05.txd" type="client" /> <file src="data/car_Ford_GT_05.dff" type="client" /> <file src="data/car_Lamborghini_Gallardo_05.txd" type="client" /> <file src="data/car_Lamborghini_Gallardo_05.dff" type="client" /> <file src="data/car_Bugatti_Veyron_16_4_GS_11.txd" type="client" /> <file src="data/car_Bugatti_Veyron_16_4_GS_11.dff" type="client" /> <file src="data/car_Chevrolet_Camaro_SS_67.txd" type="client" /> <file src="data/car_Chevrolet_Camaro_SS_67.dff" type="client" /> <file src="data/car_Chrystler_300S_Hemi_08.txd" type="client" /> <file src="data/car_Chrystler_300S_Hemi_08.dff" type="client" /> <file src="data/car_Dodge_Viper_GTSR_12.txd" type="client" /> <file src="data/car_Dodge_Viper_GTSR_12.dff" type="client" /> <file src="data/car_Nissan_GTR_12.txd" type="client" /> <file src="data/car_Nissan_GTR_12.dff" type="client" /> <file src="data/car_Mitsubishi_Lancer_EVO_08.txd" type="client" /> <file src="data/car_Mitsubishi_Lancer_EVO_08.dff" type="client" /> <file src="data/car_Mitsubishi_FTO_97.txd" type="client" /> <file src="data/car_Mitsubishi_FTO_97.dff" type="client" /> <file src="data/car_Toyota_Vellfire_99.txd" type="client" /> <file src="data/car_Toyota_Vellfire_99.dff" type="client" /> <file src="data/car_Toyota_Supra_98.txd" type="client" /> <file src="data/car_Toyota_Supra_98.dff" type="client" /> <file src="data/car_Mercedes_560_SEL_86.txd" type="client" /> <file src="data/car_Mercedes_560_SEL_86.dff" type="client" /> <file src="data/car_Audi_R8_TDI_08.txd" type="client" /> <file src="data/car_Audi_R8_TDI_08.dff" type="client" /> <!-- TRUCKS --> <file src="data/truck_Mercedes_Benz_Actros.txd" type="client" /> <file src="data/truck_Mercedes_Benz_Actros.dff" type="client" /> <file src="data/truck_WesternStar_4900.txd" type="client" /> <file src="data/truck_WesternStar_4900.dff" type="client" /> <file src="data/truck_Mack_Vision.txd" type="client" /> <file src="data/truck_Mack_Vision.dff" type="client" /> <!-- WEAPONS --> <file src="data/weapon_ak47.txd" type="client" /> <file src="data/weapon_ak47.dff" type="client" /> <file src="data/weapon_chromegun.txd" type="client" /> <file src="data/weapon_chromegun.dff" type="client" /> <file src="data/weapon_m4.txd" type="client" /> <file src="data/weapon_m4.dff" type="client" /> <file src="data/weapon_micro_uzi.txd" type="client" /> <file src="data/weapon_micro_uzi.dff" type="client" /> <file src="data/weapon_mp5lng.dff" type="client" /> <file src="data/weapon_mp5lng.txd" type="client" /> <file src="data/weapon_rpg.dff" type="client" /> <file src="data/weapon_rpg.txd" type="client" /> <file src="data/weapon_shotgspa.dff" type="client" /> <file src="data/weapon_shotgspa.txd" type="client" /> <file src="data/weapon_tec9.dff" type="client" /> <file src="data/weapon_tec9.txd" type="client" /> <file src="data/weapon_bat.dff" type="client" /> <file src="data/weapon_bat.txd" type="client" /> <file src="data/weapon_grenade.dff" type="client" /> <file src="data/weapon_grenade.txd" type="client" /> </meta>
  3. Well thanks, I just wanted to confirm.
  4. Hello, I just wanted to ask a quick question, if I use setElementVisibleTo, can I do it with a whole team? or do i need to do a for loop? Is there a more sophisticated way to do this?
  5. Hello, I just wanted to know how to tell if a player/vehicle is inside water or hits water. As usual, any help is greatly appreciated. Thanks, NooP
  6. Anyone wanna help? SolidSnake15? 50p?
  7. Hello, as the topic states, is there any way to make the mouse stop from changing the view? I want to disable the roation by script. Any help is greatly appreciated. I want a chase view like thing. Thanks, NooP
  8. Hello guys, how can i set and retrieve the top speed of a car? I HAVE tried Max Velocity, but that doesnt increase the top speed, it doesnt go any faster
  9. To the below post, yes, but i want each car to have a different spoiler/part without interference
  10. perhaps i wasnt too clear, what i meant was if i was using engine functions to replace customization parts on two cars that share that patlrt code, ia there anyway? Or is this a limitation?
  11. I just have a quick question, lets say i am replacing 2 cars in the game, and i want to customize parts (bumper, spoiler, etc) and I import one, will it replace that specific part for the 2nd car that shares that part?
  12. Well you can use onPlayerSpawn and setPlayerTeam and setTeamFriendlyFire , but we can't help you unless you post some code.
  13. I believe that is your db host, before trying it on a host, do it locally, download Winginx or Xampp and use the MySQL and Phpmyadmin from there, I was reading past when I saw your post, I just made a new MySQL stats system using dbConnect etc. So if you need help with the MySQL part, I am here to help.
  14. I sort of understand what you mean, but can you explain in more detail?
  15. LOL sorry, i didnt notice that , hehehe, nice catch
  16. Ok, that makes more sense, you can use: SetTeamFriendlyFire and setPlayerTeam
  17. It is kind of difficult to understand what you want and what you are trying to communicate, could you try be more clear? Or maybe use google translate
  18. THIS Should work, you dont need that setElementPosition... local myMarker = createMarker(1882.3262939453, -1314.8422851563, 14.500373840332, 'cylinder', 2.0, 255, 0, 0, 150) function MarkerHit( hitElement, hitDimension ) setElementPosition ( source, 0, 0, 0 ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
  19. maybe when i get back from school today, i will try to make a function
  20. What i meant to say was, the resource has a feature like this, and I've increased the value to about 1000, but it doesnt seem to change, when i go into the game, the cars drive to the end of my view distance (the default setting) which isn't supposed to happen, which makes me ask, how do i do it?
  21. Hey guys, I've been going through the resource's code and have edited it heavily, but i am facing a few problems, the resource only syncs to a certain distance and then the cars stop moving until a player moves by, is there any way to remove that limit?
  22. LOL!! NVR SEEN THAT BEFORE! Should've looked more carefully! Thanks TwiX!
×
×
  • Create New...