Moving gates help
#2

See my 'mGates' include in my signature. It will make your life easier.

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);
(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.
Reply


Messages In This Thread
Moving gates help - by LavaHDProkiller - 22.01.2013, 18:35
Re: Moving gates help - by MP2 - 22.01.2013, 18:42
Re: Moving gates help - by FUNExtreme - 22.01.2013, 18:42
Re: Moving gates help - by LavaHDProkiller - 22.01.2013, 18:43
Re: Moving gates help - by LavaHDProkiller - 22.01.2013, 18:48
Re: Moving gates help - by MP2 - 22.01.2013, 18:48
Re: Moving gates help - by LavaHDProkiller - 22.01.2013, 18:52
Re: Moving gates help - by LavaHDProkiller - 22.01.2013, 18:54
Re: Moving gates help - by Goldino - 22.01.2013, 18:59
Re: Moving gates help - by LavaHDProkiller - 22.01.2013, 19:02

Forum Jump:


Users browsing this thread: 1 Guest(s)