Memory?
#1

This maybe a stupid question.

We have a command (/area) that fills xx, xy, xz with data.

Now xx, xy, xz are all set up in advance as floats.

Код:
	
xx=dUserFLOAT(PlayerName(giveid)).("RealWorldX");
xy=dUserFLOAT(PlayerName(giveid)).("RealWorldY");
xz=dUserFLOAT(PlayerName(giveid)).("RealWorldZ");
Big question, if 4 people run this command at same time, do they each get their own XX, XY, XZ values or does the script overwrite? and if its the latter does this give potential for a crash??

Would it be better to have xx(playerid) etc... and tie it to that player while they are on server?
Reply
#2

They'll get their own x, y, z position.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)