SA-MP Forums Archive
Auto Police Gates! *SF, LV, LS* A Must for Cops and Robbers! V3 For GM's/FS's!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: Auto Police Gates! *SF, LV, LS* A Must for Cops and Robbers! V3 For GM's/FS's!!! (/showthread.php?tid=28310)

Pages: 1 2 3


Auto Police Gates! *SF, LV, LS* A Must for Cops and Robbers! V3 For GM's/FS's!!! - $$$PiMp - 01.03.2008

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:
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.
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)


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - [LDT]LuxurY - 01.03.2008

sounds good, gonna try.


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

thank you, i hope it works fine


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - snipe69 - 01.03.2008

nice work i may use it


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - [SMB]Bip - 01.03.2008

Works fine on my server thanks


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

Quote:
Originally Posted by $SnIpE$
nice work i may use it
KEWL!!! Gwd luck with it

Quote:
Originally Posted by Bip
Works fine on my server thanks
Great to hear it works for ya


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - **HITMEN** - 01.03.2008

didint work now


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - Puffmac - 01.03.2008

Lol


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - Dark_Kostas - 01.03.2008

Photos?Please post photos when you show something


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - Puffmac - 01.03.2008

Quote:
Originally Posted by azaxyo
Photos?Please post photos when you show something
Yeah screenies would be good


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - .:MikeX:. - 01.03.2008

Yeah,

It work\'s Not by me

i have it in my script but it work not


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

Quote:
Originally Posted by **HITMEN**
didint work now
Well that means YOU did something wrong
You did not follow the instructions correctly!

Quote:
Originally Posted by [NoL
Puffmac ]
Quote:
Originally Posted by azaxyo
Photos?Please post photos when you show something
Yeah screenies would be good
Screenies done

Quote:
Originally Posted by .:MikeX:.
Yeah,

It work\'s Not by me

i have it in my script but it work not
You did not follow the instructions correctly!

For those that think i did something wrong look at this!
Quote:
Originally Posted by Bip
Works fine on my server thanks
Thank You,
Allan(MoNeYPiMp)


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - Dark_Kostas - 01.03.2008

What?These are the gates?
http://forum.sa-mp.com/index.php?topic=38912.0
What is the change?


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

omFg
the gate are AUTOMATIC! ITS WRITEN IN THE TITLE!
You should read the title before posting useless comments


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - Numhaken - 01.03.2008

Nice!


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

Thank You


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - splitx - 01.03.2008

Nice !!

**Thx For The Credits :P and nice pics :P


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

No Problem


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - herbis11 - 01.03.2008

tnx works on my server..very good job


Re: Auto Police Gates!!! SF, LV, LS A must have for cops and robbers! - $$$PiMp - 01.03.2008

Thank You, I am glad you like it