Float is NaN
#1

Hello, I want to get the position above actor's head so I do this

new float:labelZ = ActorZ + 0.2000;

(ActorZ is 100 % correct because actor is spawned based on this variable)

when I do:

printf("Label: %f %f %f", ActorX, ActorY, labelZ);


the last value is NaN and the label is not displayed. Why could it be like that?
Reply


Messages In This Thread
Float is NaN - by czop1223 - 29.06.2017, 15:02
Re: Float is NaN - by Vince - 29.06.2017, 15:44
Re: Float is NaN - by aoky - 29.06.2017, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)