Problem with gang zone
#1

On OngameModeInit, i am loading the turfs using y_ini. then once i get the data i create a zone this is the code:
pawn Код:
for(new f = 0; f  < sizeof(TurfsInfo); f++)//Creates a loop, that goes through all of the businesses.
{
     new strs[40];
     format(strs, sizeof(strs), TPATH, f);//formats the file path, with the biz ID
     INI_ParseFile(strs, "loadturf_%s", .bExtra = true, .extra = f );

     TurfsInfo[f][TurfID] = GangZoneCreate(TurfsInfo[f][minx], TurfsInfo[f][miny], TurfsInfo[f][maxx], TurfsInfo[f][maxy], TurfsInfo[f][TurfsColor], -1, -1, 0, -1);
     printf("[debug] Turf %d: %x", f, TurfsInfo[f][TurfsColor]);
}
This is the color in the file: 0xFFFF00AA
but its color in game is white? why?
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)