29.05.2011, 15:35
Well, I'm creating a Gang FilterScript and I gotta load the Turf color from DB(Hex). I put(as structure) the Hex number as a String. But when it loads, I don't know what to do. If I print a %d it goes wrong, the same for %x I really don't know what to do.
PHP код:
factionInfo[ factionid ][ fColor ] = strval( field[15] );
PHP код:
printf("[] Rank1: %s|Color: %d" , factionInfo[ factionid ][ fRank1 ] );