#1

PHP код:
        new x[25];
        new 
y[25];
        new 
z[25];
        
cache_get_row(h0temp);
        
format(x,sizeof(x),"%f",temp);
          
cache_get_row(h1temp);
        
format(y,sizeof(y),"%f",temp);
          
cache_get_row(h2temp);
        
format(z,sizeof(z),"%f",temp);
        
HouseInfo[h][hEntrancex] = x;
        
HouseInfo[h][hEntrancey] = y;
        
HouseInfo[h][hEntrancez] = z
Вот чесно туплю и не могу сообразить как вытащить значения и подставить их в
Quote:

HouseInfo[h][hEntrancex]
HouseInfo[h][hEntrancey]
HouseInfo[h][hEntrancez]

Reply
#2

pawn Код:
new x[25];
new y[25];
new z[25];
cache_get_row(h, 0, temp);
format(x,sizeof(x),"%f",temp);
cache_get_row(h, 1, temp);
format(y,sizeof(y),"%f",temp);
cache_get_row(h, 2, temp);
format(z,sizeof(z),"%f",temp);
HouseInfo[h][hEntrancex] = floatstr(x);
HouseInfo[h][hEntrancey] = floatstr(y);
HouseInfo[h][hEntrancez] = floatstr(z);
Reply
#3

deleted
Reply
#4

спасибо
Reply
#5

Ну вы и извращенцы.
pawn Код:
cache_get_row(h, 0, temp);
HouseInfo[h][hEntrancex] = floatstr(temp);
cache_get_row(h, 1, temp);
HouseInfo[h][hEntrancey] = floatstr(temp);
cache_get_row(h, 2, temp);
HouseInfo[h][hEntrancez] = floatstr(temp);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)