Auto Police Gates! *SF, LV, LS* A Must for Cops and Robbers! V3 For GM's/FS's!!!
#1

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)
Reply
#2

sounds good, gonna try.
Reply
#3

thank you, i hope it works fine
Reply
#4

nice work i may use it
Reply
#5

Works fine on my server thanks
Reply
#6

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
Reply
#7

didint work now
Reply
#8

Lol
Reply
#9

Photos?Please post photos when you show something
Reply
#10

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

Yeah,

It work\'s Not by me

i have it in my script but it work not
Reply
#12

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)
Reply
#13

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

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

Nice!
Reply
#16

Thank You
Reply
#17

Nice !!

**Thx For The Credits :P and nice pics :P
Reply
#18

No Problem
Reply
#19

tnx works on my server..very good job
Reply
#20

Thank You, I am glad you like it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)