[HELP] Player Leave's Capture Zone!
#2

Hello!

What is printing in the console (server.log) here?
PHP код:
public OnPlayerLeaveDynamicCP(playeridcheckpointid)
{
    for(new 
x=0sizeof(CP); x++)
    {
        
printf("checkpointid: %i - CP[%i] = %i",checkpointid,x,CP[x]);
        if(
checkpointid == CP[x])
        {
            
printf("Captured[%i] == %i",x,Captured[x]);
            if(
Captured[x] == 1)
            {
                
printf("FlashStop");
                
GangZoneStopFlashForAll(Zone[x]);
                
UnderAttack[x] = 0;
                
InCP[playerid] = 0;
                
tCP[x] = gTeam[playerid];
                switch(
gTeam[playerid])
                {
                    case 
TEAM_USAGangZoneShowForAll(Zone[x], COLOR_LIGHTERBLUE);
                    case 
TEAM_RUSSGangZoneShowForAll(Zone[x], COLOR_RED);
                    case 
TEAM_ARABGangZoneShowForAll(Zone[x], COLOR_ORANGELIGHT);
                    case 
TEAM_EUROGangZoneShowForAll(Zone[x], COLOR_GREENLIGHT);
                    case 
TEAM_REBELSGangZoneShowForAll(Zone[x], COLOR_BROWNLIGHT);
                    case 
TEAM_ASIAGangZoneShowForAll(Zone[x], COLOR_YELLOW);
                }
            }
        }
    }
    return 
1;

- Mencent
Reply


Messages In This Thread
[HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 08:30
AW: [HELP] Player Leave's Capture Zone! - by Mencent - 25.07.2015, 08:36
Re: [HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 08:39
AW: [HELP] Player Leave's Capture Zone! - by Mencent - 25.07.2015, 08:41
Re: [HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 08:48
AW: [HELP] Player Leave's Capture Zone! - by Mencent - 25.07.2015, 08:50
Re: [HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 08:52
Re: [HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 09:02
AW: [HELP] Player Leave's Capture Zone! - by Mencent - 25.07.2015, 09:03
Re: [HELP] Player Leave's Capture Zone! - by Hemeei - 25.07.2015, 09:05

Forum Jump:


Users browsing this thread: 2 Guest(s)