2021-04-11, 04:49 PM
(2021-04-11, 03:43 PM)DandoRYx Wrote: Now when I looked at it, from string to float you shouldn't be using strval, because that converts to integer. You should use floatstr(string) instead.
But then the variables Player[playerid][Health] etc.. should be float.
How would line like this look??[code]Player[playerid][Health] = floatstr(string);[/code]
I'm new to scripting I've tryied smth like??[code]floatstr(Player[playerid][Health]);[/code]
BTW Health armour and x y z was already float.