Dini x,y,z in one line
#3

Look, I have file name 0.txt, it`s arena.
in file is
Quote:

att=-2626.1035,2250.6650,7.8385

line.
Which i want to get, i want to SetPlayerPos(playerid,-2626.1035,2250.6650,7.8385); But how to get these float numbers? I can do it with
X
Y
Z
With
Quote:

new Floatx, Floaty, Floatz;
px = dini_Float(file, "X");
py = dini_Float(file, "Y");
pz = dini_Float(file, "Z");
SetPlayerPos(playerid, px, py, pz);

But I need get it from one line
Reply


Messages In This Thread
Dini x,y,z in one line - by DreDasLT - 31.12.2012, 15:31
Re: Dini x,y,z in one line - by CBCandyBoy - 31.12.2012, 15:36
Re: Dini x,y,z in one line - by DreDasLT - 31.12.2012, 15:39
Re: Dini x,y,z in one line - by DreDasLT - 01.01.2013, 09:58
Re: Dini x,y,z in one line - by eesh - 01.01.2013, 10:25

Forum Jump:


Users browsing this thread: 5 Guest(s)