Tutorial 2 - More complex code
In this tutorial we are going to learn how to spawn a car and an actor
If you haven't already I advise you to go through Tutorial 1- The basics , this tutorial will be easier to follow if you have read the first tutorial
Create a new CLEO script, Add the starting blocks by defining it as usual:
If you haven't already I advise you to go through Tutorial 1- The basics , this tutorial will be easier to follow if you have read the first tutorial
Create a new CLEO script, Add the starting blocks by defining it as usual:
{$CLEO}
0000:
0000:
Next, We create our first label and load the models we are going to use.
These will be the Car and Actor models,
Important NOTE ahead!
The codes you see are different for each game, They do the same thing but have different ID's
Make sure you do not try to use these codes in a different GTA game, they will crash it!
Now that's out of the way lets get cracking, Choose your game:
GTA 3
GTA VC
GTA SA
These will be the Car and Actor models,
Important NOTE ahead!
The codes you see are different for each game, They do the same thing but have different ID's
Make sure you do not try to use these codes in a different GTA game, they will crash it!
Now that's out of the way lets get cracking, Choose your game:
GTA 3
GTA VC
GTA SA