Capture Zones Help
#1

The Code from Stock
pawn Код:
stock LeavingGHOSTTOWN(playerid)
{
    Captured[playerid][GHOSTTOWN] = 0;
    UnderAttack[GHOSTTOWN] = 0;
    KillTimer(timer[playerid][GHOSTTOWN]);
    CountVar[playerid][GHOSTTOWN] = 25;
    GangZoneStopFlashForAll(Zone[GHOSTTOWN]);
    TextDrawHideForPlayer(playerid, CountText[playerid]);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
       IsPlayerCapturing[i][GHOSTTOWN] = 0;
    }
    SendClientMessage(playerid, COLOR_RED,"{FF0000}[Ghost-Town]: {FFFFFF}You have failed to capture the Ghost Town!");
    return 1;
}
The code from LeavingGHOSTTOWN
pawn Код:
LeavingGHOSTTOWN(playerid);
    }
    if(Captured[playerid][DAM] == 0 && IsPlayerCapturing[playerid][DAM] == 1)
    {
Error
Код:
error 017: undefined symbol "LeavingGHOSTTOWN"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)