11.03.2008, 17:25
[center]Easy Gate Script - By FUDDS
Well, i though it was about time i released something publicly. This is basiaclly a simple script that creates gates in a position you choose then moves it to another position when a player comes close. Its easy to use, just one line per gate. Just put:
At the top of the script and
in OnGameModeInit ( );
To Add a gate you need to add the following line to your script:
Plese report any bugs here, and feel free to modify to your own specifications.
Download Link: http://www.crazyhost.info/download.p...339a_gates.inc
Source: http://www.pastebin.ca/938691
Kind regards,
- [HR][FUDDS]
Well, i though it was about time i released something publicly. This is basiaclly a simple script that creates gates in a position you choose then moves it to another position when a player comes close. Its easy to use, just one line per gate. Just put:
pawn Code:
#include <a_gates>
pawn Code:
BeginGateTimer ( );
To Add a gate you need to add the following line to your script:
pawn Code:
CreateGate ( modelid , Float: X , Float: Y , Float: Z , Float: XR , Float: YR , Float: ZR , Float: MoveX , Float: MoveY , Float: MoveZ , Float: Move_Distance , Float: Move_Speed );
// Model id = The object model id;
// X , Y , Z = The coordinates of the gate when it is closed.
// MoveX , MoveY , MoveZ = The coordinates of the gate when its open.
// Move_Distance = How far away a player needs to be for it to open.
// Move_Speed = How Fast the gate moves.
Download Link: http://www.crazyhost.info/download.p...339a_gates.inc
Source: http://www.pastebin.ca/938691
Kind regards,
- [HR][FUDDS]