rendered paste body //------------------- /defendarea51
if(strcmp(cmdtext, "/defendarea51", true)==0)
{
if(TEAM_SINDEFEND[playerid])
{
for(new j=0; j < DEFEND_POINT1; j++) {
SetTeamCheckpoint(TEAM_SINDEFEND,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2],area51checkpoint[j][3]);
SetTeamCheckpoint(TEAM_GUESTATTCK,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2],area51checkpoint[j][3]);
SetTeamPos(TEAM_SINDEFEND,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2);
}
if(TEAM_GUESTDEFEND[playerid])
{
for(new j=0; j < DEFEND_POINT1; j++) {
SetTeamCheckpoint(TEAM_GUESTDEFEND,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2],area51checkpoint[j][3]);
SetTeamCheckpoint(TEAM_SINATTCK,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2],area51checkpoint[j][3]);
SetTeamPos(TEAM_GUESTDEFEND,area51checkpoint[j][0],area51checkpoint[j][1],area51checkpoint[j][2);
}
return 1;
}