29.11.2011, 18:51
pawn Код:
CMD:open(playerid, params[])
{
if(gTeam[playerid] != TEAM_POLICE)
return SendClientMessage(playerid,0xFF0000C8, "You are not Police Officer");
SetDynamicObjectRot(barrier1, 0.00000000,0.00000000,325.48645020);
SendClientMessage(playerid, COLOR_SKYBLUE, "OPENED");
return 1;
}
CMD:close(playerid, params[])
{
if(gTeam[playerid] != TEAM_POLICE)
return SendClientMessage(playerid,0xFF0000C8, "You are not Police Officer");
SetDynamicObjectRot(barrier1, 0.0, 270.00000000,325.48645020);
SendClientMessage(playerid, COLOR_SKYBLUE, "CLOSED");
return 1;
}