- 0
Problema GangZone
-
Similar Content
-
- 2 answers
- 822 views
-
Problema turf
By Soryn.,
- 3 answers
- 444 views
-
- 0 replies
- 185 views
-
- 2 replies
- 349 views
-
- 1 reply
- 107 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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]
Link to comment
Share on other sites
4 answers to this question
Recommended Posts