Conflict/Problem with ID's from MySQL, assigning them locally.
#2

Here is a question, why do you use that way to load your info ?
PHP код:
        cache_get_field_content(0"String"PlayerI[playerid][mystring], mysql50);
        
PlayerI[playerid][myint] = cache_get_field_content_int(0"Int");
        
PlayerI[playerid][myfloat] = cache_get_field_content_float(0"Float"); 
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.
Reply


Messages In This Thread
Conflict/Problem with ID's from MySQL, assigning them locally. - by Dokins - 30.03.2016, 16:46
Re: Conflict/Problem with ID's from MySQL, assigning them locally. - by PrO.GameR - 30.03.2016, 19:47
Re: Conflict/Problem with ID's from MySQL, assigning them locally. - by Dokins - 30.03.2016, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)