13.03.2014, 10:00
The Code from Stock
The code from LeavingGHOSTTOWN
Error
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;
}
pawn Код:
LeavingGHOSTTOWN(playerid);
}
if(Captured[playerid][DAM] == 0 && IsPlayerCapturing[playerid][DAM] == 1)
{
Код:
error 017: undefined symbol "LeavingGHOSTTOWN"