22.01.2013, 18:42
See my 'mGates' include in my signature. It will make your life easier.
I even have the full coordinates for you:
(Place under OnGameModeInit and enjoy).
Use OnPlayerRequestGate to control access (i.e. to restrict it to certain players e.g. army).
Use OnGateOpenClose if you want to add sounds.
I even have the full coordinates for you:
pawn Код:
CreateAutomaticGate(985, 2497.406250, 2777.070312, 11.531299+0.02, 0.000000, 0.000000, 90.000000, 2497.406250, 2777.070312+7, 11.531299, 0.000000, 0.000000, 90.000000, 2496.0535,2773.0981,10.8205, 15, 4);
CreateAutomaticGate(986, 2497.406250, 2769.109375, 11.531299+0.02, 0.000000, 0.000000, 90.000000, 2497.406250, 2769.109375-7, 11.531299, 0.000000, 0.000000, 90.000000, 2496.0535,2773.0981,10.8205, 15, 4);
Use OnPlayerRequestGate to control access (i.e. to restrict it to certain players e.g. army).
Use OnGateOpenClose if you want to add sounds.

