30.07.2012, 12:42
Hi!
How can I use "cache_get_field_content" with floats?
I know how to use it with strval and strings, like that:
But how do I use that with floats? This doesn't work:
Thanks
How can I use "cache_get_field_content" with floats?
I know how to use it with strval and strings, like that:
pawn Код:
cache_get_field_content(0, "owned", temp); vInfo[vehicleid][vOwned] = strval(temp);
cache_get_field_content(0, "owner", vInfo[vehicleid][vOwner]);
pawn Код:
cache_get_field_content(0, "posX", vInfo[vehicleid][vPos][0]);
cache_get_field_content(0, "posY", vInfo[vehicleid][vPos][1]);
cache_get_field_content(0, "posZ", vInfo[vehicleid][vPos][2]);
