20.03.2011, 09:33
Let's say your faction array is "pFaction"
pawn Код:
if (strcmp("/fortclose", cmdtext, true, 10) == 0)
{
if(pFaction[playerid] == 5)
{
MoveObject(fortgate1,-1211.1669921875,-1065.072265625,129.09060668945,3.0);
MoveObject(fortgate2,-1203.212890625,-1064.9228515625,129.13668823242,3.0);
return 1;
}
else return SendClientMessage(playerid,-1,"You are not NG!");
}

