30.03.2016, 19:47
Here is a question, why do you use that way to load your info ?
there, all of your data can be pulled the way you want, omitting the need for strval and stuff (well that is if you use blueG's plugin, I'm not sure if you do tho.)
While it might not be that obvious, your loading method overrides your old data in some way, my suggestion is make local variables for params needed in createveh, create your vehicle first then load the data on the created vehicle ID.
PHP код:
cache_get_field_content(0, "String", PlayerI[playerid][mystring], mysql, 50);
PlayerI[playerid][myint] = cache_get_field_content_int(0, "Int");
PlayerI[playerid][myfloat] = cache_get_field_content_float(0, "Float");
While it might not be that obvious, your loading method overrides your old data in some way, my suggestion is make local variables for params needed in createveh, create your vehicle first then load the data on the created vehicle ID.