note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
Starting IDs
This page contains all of the starting IDs for numerous entities.
Everything like objects, players or vehicles use IDs. Some IDs start with 0, others start with 1.
Type | Starting ID |
---|---|
3D Text Label | 0 |
Actor | 0 |
File | 0 |
GangZone | 0 |
Object | 1 |
Pickup | 0 |
Player | 0 |
Player Class | 0 |
TextDraw / PlayerTextDraw | 0 |
Timer | 1 |
Vehicle | 1 |
You see, vehicles and objects start using 1, not 0! So if you plan to use an array to hold all IDs you have to use the ID from CreateObject/CreateVehicle/... and subtract 1 to get the array element ID.