Stock help
#8

Quote:
Originally Posted by Grim_
Посмотреть сообщение
The _: makes the variable tag-less. Originally you were returning a float tagged variable, by adding the _: tag (which is equivalent to no-tag) it removes the tag and converts the value to an integer in this situation.
Thankyou, i think i understood that.

Is this what you mean?:

I get the players health and save it to a float.
When i try to return that float, it results in a tag mismatch due to it being a float, and it cant just return a float?
You need to return it as a tagless, so it bypasses the float, and returns the float as a integra with the players health?
Reply


Messages In This Thread
Stock help - by Godhimself - 07.08.2011, 02:58
Re: Stock help - by dowster - 07.08.2011, 03:07
Re: Stock help - by Grim_ - 07.08.2011, 03:08
Re: Stock help - by [L3th4l] - 07.08.2011, 03:08
Re: Stock help - by Godhimself - 07.08.2011, 03:17
Re: Stock help - by Grim_ - 07.08.2011, 03:21
Re: Stock help - by [L3th4l] - 07.08.2011, 03:22
Re: Stock help - by Godhimself - 07.08.2011, 03:25

Forum Jump:


Users browsing this thread: 1 Guest(s)