Problem with gang zone
#3

idk much about pawn but what if you do something like this
Код:
format(str, 14, "0x%s", TurfsInfo[idx][TurfsColor]);

now str will store the hex as u want
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
Код:
printf("[debug] Turf %d: %x", f, TurfsInfo[f][TurfsColor]);

to this

printf("[debug] Turf %d: %s", f, TurfsInfo[f][TurfsColor]);
Check that even now it shows with 0x
Reply


Messages In This Thread
Problem with gang zone - by ProfessorX - 30.10.2018, 03:06
Re: Problem with gang zone - by ProfessorX - 30.10.2018, 03:15
Re: Problem with gang zone - by GameOvr - 30.10.2018, 04:17
Re: Problem with gang zone - by ProfessorX - 30.10.2018, 04:26
Re: Problem with gang zone - by UFF - 30.10.2018, 05:21
Re: Problem with gang zone - by ProfessorX - 30.10.2018, 05:58

Forum Jump:


Users browsing this thread: 1 Guest(s)