30.10.2018, 04:17
idk much about pawn but what if you do something like this
another solution
You can change the write hex into write string
because hex is with RRGGBB format but in samp colors comes with 0x
Or change ur debug
Check that even now it shows with 0x
Код:
format(str, 14, "0x%s", TurfsInfo[idx][TurfsColor]); now str will store the hex as u want
You can change the write hex into write string
because hex is with RRGGBB format but in samp colors comes with 0x
Or change ur debug
Код:
printf("[debug] Turf %d: %x", f, TurfsInfo[f][TurfsColor]); to this printf("[debug] Turf %d: %s", f, TurfsInfo[f][TurfsColor]);