25.09.2013, 09:08
PHP код:
for(new i; i<CountObject; i++)
{
fread(file, FileStr);
sscanf(string, "p<|>ifffffffff", ObjectInfo[i][modelidfs], ObjectInfo[i][Xman],ObjectInfo[i][Yman],ObjectInfo[i][Zman], ObjectInfo[i][rXman], ObjectInfo[i][rYman], ObjectInfo[i][rZman]);
ObjectInfo[i][objects] = CreateDynamicObject(ObjectInfo[i][modelidfs], ObjectInfo[i][Xman],ObjectInfo[i][Yman],ObjectInfo[i][Zman], ObjectInfo[i][rXman], ObjectInfo[i][rYman], ObjectInfo[i][rZman]);
format(s,256,"{527ac1}ID Объекта %d",ID);
printf( "modelidfs = %d |Start %s | X - %f | Y - %f | Z - %f | Rx - %f | rY - %f | rZ - %f |",ObjectInfo[i][modelidfs],ObjectInfo[i][Start],ObjectInfo[i][Xman],ObjectInfo[i][Yman],ObjectInfo[i][Zman],ObjectInfo[i][rXman],ObjectInfo[i][rYman],ObjectInfo[i][rZman]);
}