30.07.2015, 15:15
This will work:
Код:
forward OnPlayerEnterDynamicCP(playerid, checkpointid); public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid == CP[CAPZONE]) { if(UnderAttack[CAPZONE] == 0) { if(tCP[CAPZONE] != gTeam[playerid]) { CountVar[playerid][CAPZONE] = 25; ActiveCAPZONE(playerid); } else return SendClientMessage(playerid, COLOR_RED,"*This zone is already captured by your team!"); } else return CaptureZoneMessage(playerid, 2); } return 1; }