04.05.2013, 14:39
Well..this is weird. I have tried on my computer the same code..all works fine.
Is your vehicleinfo enum big enough ?
This is the code that i've tried.
Is your vehicleinfo enum big enough ?
This is the code that i've tried.
pawn Код:
new row, num;
cache_get_data( row, num, g_Handle );
if( row )
{
new fetch[24 + 2];
cache_get_field_content( 0, "username", fetch, g_Handle, sizeof fetch );
printf("%s",fetch);
format(VehicleInfo[vehicleID][vOwner],26,fetch);
printf("%s",VehicleInfo[vehicleID][vOwner]);
printf( "Vehicle from %s has been loaded. (ID: %i)", VehicleInfo[vehicleID][vOwner], vehicleID );
}