#1 26-06-2011 00:05

wejnc
Registered: 26-06-2011
Posts: 2

A very newbie question for GTA Vice City

I want to have Vercetti Gang spawn in Deluxo. I heard that I only need to add in "0236: set_gang 6 car_to #DELUXO" to my main.scm. BUT since I am going to use CLEO to do it so that I dont have to start new game,
I try: "{$CLEO .cs}
0236: set_gang 6 car_to #DELUXO"

When I compile and run gta, It crashed while loading my save file. Can anyone tell me whats wrong with the code? Is that the right way of doing it? Any help will be greatly appreciated!

Offline

#2 26-06-2011 13:15

Seemann
Registered: 07-08-2006
Posts: 2,156

Re: A very newbie question for GTA Vice City

add end_custom_thread opcode at the end of your script.

Offline

#3 26-06-2011 16:12

wejnc
Registered: 26-06-2011
Posts: 2

Re: A very newbie question for GTA Vice City

Hi thank you very much for the reply. I added 05DC: end_custom_thread at the end of the line. But it doesnt seems to work. I found a very strange thing, whenever I compile and copy my script, my main.scm will change from file size 1.2m to 1.06kb, it seems like a big problem. I suspect that is the reason my game crash everytime i try to load a save game. Is my code correct at all?
Any suggestions?

Offline

#4 04-07-2011 13:56

Shag
Registered: 29-03-2010
Posts: 147
Website

Re: A very newbie question for GTA Vice City

wejnc, just you replaced main.scm at your script
you had to click "save as" before clicking "Compile" and save into GTA Vice City/CLEO folder with any name
now you must get original Vice City main.scm and try again!

P.S. ORIGINAL main.scm

Last edited by Shag (04-07-2011 13:59)

Offline

#5 04-07-2011 14:05

Shag
Registered: 29-03-2010
Posts: 147
Website

Re: A very newbie question for GTA Vice City

also when you click "compile and COPY" it can replace main.scm
Try to click "compile"

Offline

Board footer

Powered by FluxBB