29.09.2012, 16:26
GTA SA just has a giant list of models. That explains why you get a ped when you use id 14 in the Map Editor, because it's in the same model list as all the other objects.
The list is roughly:
0 to 300 = Ped models;
321 to 371 = Weapon models;
400 to 611 = Vehicle models;
~615 to ~18000 = Other object models.
Never noticed this? The SA-MP Map Editor just shows the model, that's why it's capable of showing ped models. But when you try spawning them in SA-MP itself, it can't be done. They have extra data which can't be read by CreateObject. (Like bones from peds, damage models from vehicles)
The list is roughly:
0 to 300 = Ped models;
321 to 371 = Weapon models;
400 to 611 = Vehicle models;
~615 to ~18000 = Other object models.
Never noticed this? The SA-MP Map Editor just shows the model, that's why it's capable of showing ped models. But when you try spawning them in SA-MP itself, it can't be done. They have extra data which can't be read by CreateObject. (Like bones from peds, damage models from vehicles)