Anurag_Anmol Posted September 15, 2010 Share Posted September 15, 2010 (edited) OK I dunno why it doesn't work... Gunna add text later. Well it might take a while for you to understand.. seriously.. EDIT : It works now Thanks!! Edited September 16, 2010 by Anurag_Anmol Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/ Share on other sites More sharing options...
Deji Posted September 16, 2010 Share Posted September 16, 2010 0ADC junkie! Yeh don't have to have wait 0 after every label.. in fact, doing this slows down the mod considerably. They're only needed once per loop. 0000: NOPthread 'CARSPAWNERV3' The great thing about 2 blank bytes at the start of a script is that you don't have to use 03A4! Remove the thread naming. It just takes up precious bytes of your RAM And by the way.. WHAT doesn't work? Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/#findComment-1060127365 Share on other sites More sharing options...
spaceeinstein Posted September 16, 2010 Share Posted September 16, 2010 Did you consider how the logic works in your code? Based on your code: First you type "ENABLE" Then you either type "SINGLE" or "MULTIPLE" to continue Then you either type "1" to "9" to continue Then you have to press key 48, but if you don't press it, your code will make a series of jumps and crash if the model isn't loaded soon enough. Did your game crash? Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/#findComment-1060127388 Share on other sites More sharing options...
Anurag_Anmol Posted September 16, 2010 Author Share Posted September 16, 2010 (edited) No simply it didn't do anything But adding custom GXT should help us point to were the prob is -Destroys lots of wait 0s and puts separate thing to load model- P.S. I dunt wanna remove the thread naming coz if I do then compile and elease to the world then if they decompile it will be easy for them to understand but with thread naming it changes all thread names to CARSPAWNERV3_21 etc. But you already know that P.S 2 I tried to save lots of stuff by using 5@ WAIT! I think I found prob.. selectvehile doesnt jump to spawn vehicle ;P EDIT : IT WORKS!!! Just need to add custom text Edited September 16, 2010 by Anurag_Anmol Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/#findComment-1060127524 Share on other sites More sharing options...
Adler Posted September 16, 2010 Share Posted September 16, 2010 P.S. I dunt wanna remove the thread naming coz if I do then compile and elease to the world then if they decompile it will be easy for them to understand but with thread naming it changes all thread names to CARSPAWNERV3_21 etc. But you already know that Actually if you don't name the thread and compile then the people who decompile will see it as NoName_11 etc. Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/#findComment-1060127791 Share on other sites More sharing options...
Deji Posted September 16, 2010 Share Posted September 16, 2010 Yeah, naming the thread makes very little difference. And if you really do want to leave 03AF there, you can get rid of 0000... Which saves 2 bytes of the 18 bytes you are wasting by naming the thread. You could also use double quote tags (" ") instead of single quote tags (' ') on all your strings, since they save a lot more bytes and make no difference to most opcodes, such as 03AF. I'm an optimization junkie... snort snort. Link to comment https://gtaforums.com/topic/459264-my-car-spawner-v3-not-working/#findComment-1060128179 Share on other sites More sharing options...
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