Quote:
Originally Posted by #.'
Hey there,
i've got a GangZone Problem. I load the Coordiantes from a file, works fine. But they don't will be shown all. Just a few. I put this code under OnPlayerSpawn.
pawn Код:
for(new z = 0; z < sizeof(GangZoneInfo); z++) { zone[z]= GangZoneShowForPlayer(playerid, z, GetGangZoneColor(z)); }
|
Hmmm GangZoneShowForPlayer doesn't return anything, why are you trying to store its value ? What you should've done is store the value returned from CreateGangZone in that array / use THAT to load the GangZone (GangZoneShowForPlayer(playerid, zone[z], GetGangZoneColor(z))
.
Hope that makes sense ... epic tired aha.