AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Reading from the specific position.. (https://forums.alliedmods.net/showthread.php?t=216994)

ahujenas 05-28-2013 13:57

Reading from the specific position..
 
hey, i've got some saving going on which does something like this in file:

0 23.543258 54.109849 12.4023759 10 x1 y1 z1 x2 y2 z2 x3 y3 z3....


the x y z keeps going on depending on the number (10 in this case). How can I read each X Y Z from that point and store it into such array:

tPos[10][3];

it should be like tPos[0][0] = x1; tpos[0][1] = y1; tpos[0][2] = z1; tpos[1][0] = x2; etc...


All times are GMT -4. The time now is 16:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.