25.05.2014, 11:16
Try this solution
This will create vehicles with a minimal ID of 521.
PHP код:
#define CreateVehicle S_CreateVehicle
stock S_CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
{
new v;
for(v = 3; v < MAX_VEHICLES; v++)
{
if(v <= 520) continue;
CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay);
return v;
}
return 0;
}