GangZoneShowForPlayer
#2

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.
Reply


Messages In This Thread
GangZoneShowForPlayer - by Justsmile - 14.03.2010, 14:26
Re: GangZoneShowForPlayer - by Kyosaur - 14.03.2010, 14:37
Re: GangZoneShowForPlayer - by Justsmile - 14.03.2010, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)