01.03.2008, 09:42
Hey i made this a while ago and it basically works when a player is on a team that is defined to be allowed to pass the gates goes near the gates it is supposed to open and when they go away it closes!
Do NOT use this if you are new to scripting as you first need to know how your gamemode works!
On "OnPlayerSpawn" you must add "HasPGP[playerid] = 1;" for every team that is allowed to open the gate
Gate Auto Move and Pass Design by: MoNeYPiMp
Gate Coordinates by: Spitx
Change Log:
Download Links:
Pastebin.com v3 (Filterscript)
Pastebin.com v3 (For Gamemodes)
Pastebin.com v2 (For Gamemodes)
Pastebin.com v1 (For Gamemodes)
Screen Shots (By: Spitx)
LS:
SF:
LV:
Thank You,
Allan(MoNeYPiMp)
Do NOT use this if you are new to scripting as you first need to know how your gamemode works!
On "OnPlayerSpawn" you must add "HasPGP[playerid] = 1;" for every team that is allowed to open the gate
Gate Auto Move and Pass Design by: MoNeYPiMp
Gate Coordinates by: Spitx
Change Log:
Code:
v3: Converted to FilterScript v3: Tidied up script and fixed duplicate "OnGamemodeInit" and duplicate "OnPlayerSpawn", also added more help on "OnPlayerSpawn" v2: Fixed MAJOR Bug that allowed only id:0 (if i remember correctly) to use the gates! v1: Initial release.
Pastebin.com v3 (Filterscript)
Pastebin.com v3 (For Gamemodes)
Pastebin.com v2 (For Gamemodes)
Pastebin.com v1 (For Gamemodes)
Screen Shots (By: Spitx)
LS:
SF:
LV:
Thank You,
Allan(MoNeYPiMp)