- 0
Problema GangZone
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Gireada
Nume: Gireada
Problem? întâlnit?: Culorile GangZone-urilor mi se suprapun.
Ce am încercat pân? acum: Sa le fac mai mari, mai mici. Sa fac mai multe, mai putine.
Codul sursa/Log/Altele:
OnGameModeInit
[pawn]for(j=0;j<sizeof(GangZoneuri);j++)
{
Gangzone[j] = GangZoneCreate(GangZoneuri[j][0],GangZoneuri[j][1],GangZoneuri[j][2],GangZoneuri[j][3]);
}[/pawn]
OnPlayerSpawn
[pawn]
for(new i=1;i<sizeof(GangInfo);i++)
{
if(GangInfo[gFaction] == 5) GangZoneShowForPlayer(playerid,Gangzone[i-1], 0x5F361EAA);//Ballas
else if(GangInfo[gFaction] == 6) GangZoneShowForPlayer(playerid,Gangzone[i-1], 0x000000AA);//Yakuza
else if(GangInfo[gFaction] == 11) GangZoneShowForPlayer(playerid,Gangzone[i-1], 0xff4800AA);//Corleone
else if(GangInfo[gFaction] == 12) GangZoneShowForPlayer(playerid,Gangzone[i-1], 0x5492ffAA);//Sacra
}[/pawn]
4 answers to this question
Recommended Posts