30.04.2010, 18:06
You could do
if(IsPlayerInRangeOfPoint(i, 3, x, y, z))
rather then what you have
X, Y, Z being the coords of the gate.
You can change 3 to how far away the player can be before it opens.
if(IsPlayerInRangeOfPoint(i, 3, x, y, z))
rather then what you have
X, Y, Z being the coords of the gate.
You can change 3 to how far away the player can be before it opens.