02.12.2009, 18:13
pawn Код:
if (PlayerToPoint(30.0, i, 15980.288696, -16387.887085, 14.706839)) //Is the player at the gate?
{ //If yes, then:
new skin = GetPlayerSkin(playerid); //"skin" now gets the player's skin ID.
if((skin == 288) || (skin == 281) || (skin == 282) || (skin == 283)) //Does the player have the right skin?
{ //If yes, then:
MoveObject(lsgate, 15987.288696, -16387.887085, 14.706839, 4);
SetTimerEx("CloseAPGate", 1000, 0, "ii", 4, i);
}
}

