05.03.2015, 07:26
pawn Код:
if((IsPlayerInRangeOfPoint(i, 15.0, 1089.3264, 2513.0588, 9.8871)) && (P_Data[i][pAdmin] >= 1 || IsPlayerAdmin(i)) //Check if any admin is in the area. Replace '8.0, 3.0, 10.0' with your own coordinates of your closed gate.
)
if(gateopen == false) // If the gate isn't open...
{
pawn Код:
if((IsPlayerInRangeOfPoint(i, 15.0, 1089.3264, 2513.0588, 9.8871)) && (P_Data[i][pAdmin] >= 1 || IsPlayerAdmin(i)) //Check if any admin is in the area. Replace '8.0, 3.0, 10.0' with your own coordinates of your closed gate.
{
if(gateopen == false) // If the gate isn't open...
{