09.02.2013, 13:27
Why it dont works?
The printf is printing 999 times the coords "0.00, 0.00, 0.00".
Sorry for bad english ^^
The printf is printing 999 times the coords "0.00, 0.00, 0.00".
Sorry for bad english ^^
Код:
for(new i=0; i<MAX_OBJECTS; i++)
{
new str[5], Float:x, Float:y, Float:z;
format(str,5,"%i",i);
GetObjectPos(i, x, y, z);
Create3DTextLabel(str, 0xAA0000FF, x, y, z, 150, 0, 0);
printf("%i, ~ %f, %f, %f",i,x,y,z);
}

