function UpdateEntityRT(e,object,x,y,z,rx,ry,rz,ave,act,col,key,zon,ezon,plrvis,hea,frm,pdst,avd,lmb,lmi)
g_Entity[e]['x'] = x;
g_Entity[e]['y'] = y;
g_Entity[e]['z'] = z;
g_Entity[e]['anglex'] = rx;
g_Entity[e]['angley'] = ry;
g_Entity[e]['anglez'] = rz;
g_Entity[e]['obj'] = object;
g_Entity[e]['active'] = ave;
g_Entity[e]['activated'] = act;
g_Entity[e]['collected'] = col;
g_Entity[e]['haskey'] = key;
g_Entity[e]['plrinzone'] = zon;
g_Entity[e]['entityinzone'] = ezon;
g_Entity[e]['plrvisible'] = plrvis;
g_Entity[e]['health'] = hea;
g_Entity[e]['frame'] = frm;
g_Entity[e]['plrdist'] = pdst;
g_Entity[e]['avoid'] = avd;
g_Entity[e]['limbhit'] = lmb;
g_Entity[e]['limbhitindex'] = lmi;
end