07.09.2014, 19:00
Pretty good. Like amazing!
I haven't looked at the whole script but correct me if I'm wrong you are using cache_get_row but I do believe you are supposed to use cache_get_field_content as you're getting the content that's inside the field(rows, w/e).
Plus for floats you should you cache_get_row_float or if you are using cache_get_field_content which I do suggest using use cache_get_field_content_float.
(e.g - Player[playerid][PositionX] = cache_get_field_content_float(0, "PosX");
That is the correct way of using floats, and integers.
I haven't looked at the whole script but correct me if I'm wrong you are using cache_get_row but I do believe you are supposed to use cache_get_field_content as you're getting the content that's inside the field(rows, w/e).
Plus for floats you should you cache_get_row_float or if you are using cache_get_field_content which I do suggest using use cache_get_field_content_float.
(e.g - Player[playerid][PositionX] = cache_get_field_content_float(0, "PosX");
That is the correct way of using floats, and integers.