29.03.2009, 22:11
Код:
if(strcmp(cmd, "/pddown", true) == 0)
{
if(gTeam[playerid] == 2 || IsACop(playerid))
{
if(!PlayerToPoint(246.3505, 87.48753, 1003.641);
SendClientMessage(playerid, COLOR, "you are not in the right position");
}
{
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(PlayerToPoint(246.3505, 87.48753, 1003.641);
SetPlayerPos(playerid, 246.3505, 87.48753, 1003.641);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not cop!");
}
}
return 1;
}
Код:
if(strcmp(cmd, "/pdup", true) == 0)
{
if(gTeam[playerid] == 2 || IsACop(playerid))
{
if(!PlayerToPoint(246.3505, 87.48753, 1003.641);
{
SendClientMessage(playerid, "your not in the right position);
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerPos(playerid, 1556.78, -1675.778, 28.39545);
if(PlayerToPoint(1556.78, -1675.778, 28.39545);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not cop!");
}
}
return 1;
}

