[FilterScript] Dynamic Gates
#1


Features

- Create and manage gates in-game.
- Easy to setup a gate, uses EditDynamicObject.
- Password protected gates.
- Saves everything into a nice SQLite database.

Commands

/gate - Opens/closes the nearest gate. Will ask you the gate's password if it has one, after you enter a correct password it won't ask for it again until you disconnect or gate's password changes.
/creategate [model id] [password (optional)] - Creates a gate with the model id you wrote. (RCON only)
/editgate [gate id (optional)] - Allows you to manage a gate. If you don't write an id, you'll manage the closest gate. (RCON only)

Downloads

Reply
#2

Great job as always, first, +rep
Reply
#3

GJ, Keep it up
Reply
#4

can i have the non bugged sqlitei.inc because otherwise i cant complie and run that fs ://. .....
Reply
#5

Quote:
Originally Posted by Pr0GreSiVe
Посмотреть сообщение
can i have the non bugged sqlitei.inc because otherwise i cant complie and run that fs ://. .....
I'm using the latest sqlitei.inc which you can find here.
Reply
#6

good job, about stocks check here: https://sampforum.blast.hk/showthread.php?tid=570635
Reply
#7

error DIALOG_STYLE_TABLIST
Reply
#8

Lovely.
Reply
#9

Quote:
Originally Posted by [ND]xXZeusXx.
Посмотреть сообщение
Great job as always, first, +rep
Quote:
Originally Posted by SilverStand
Посмотреть сообщение
GJ, Keep it up
Quote:
Originally Posted by AnthonyDaBestt
Посмотреть сообщение
Lovely.
Thanks guys!

Quote:
Originally Posted by StanisaHS
Посмотреть сообщение
error DIALOG_STYLE_TABLIST
Update your includes to 0.3.7 ones.

Quote:
Originally Posted by jlalt
Посмотреть сообщение
good job, about stocks check here: https://sampforum.blast.hk/showthread.php?tid=570635
That was a good read, thanks. It's just an old habit of mine though, will be more careful next time.
Reply
#10

can i get full ysi includes
Reply
#11

nyc i gona check it
Reply
#12

Phenomenal work as always, good job!
Reply
#13

Good job as always!
Reply
#14

I got crash when complie
Reply
#15

Thanks guys! Honestly, almost forgot this existed.

Quote:
Originally Posted by akib
View Post
can i get full ysi includes
https://github.com/Misiur/YSI-Includes

Quote:
Originally Posted by KochJaber
View Post
I got crash when complie
Make sure everything is updated to their latest versions.
Reply
#16

errors..

Quote:

C:\Users\Sean\Desktop\Serva\pawno\include\sqlitei. inc(969) : error 017: undefined symbol "db_get_result_mem_handle"
C:\Users\Sean\Desktop\Serva\pawno\include\sqlitei. inc(97 : error 017: undefined symbol "db_get_result_mem_handle"
C:\Users\Sean\Desktop\Serva\pawno\include\sqlitei. inc(2159) : error 017: undefined symbol "db_get_result_mem_handle"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(72) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(87) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(120) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(131) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(139) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(169) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(236) : error 025: function heading differs from prototype
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(236) : error 017: undefined symbol "objectid"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(23 : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(239) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(241) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(244) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(246) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(24 : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(263) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(26 : error 021: symbol already defined: "SendClientMessage"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(271) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(276) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(276) : error 021: symbol already defined: "SaveGate"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(279) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(282) : error 021: symbol already defined: "SetGateState"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(290) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(292) : error 021: symbol already defined: "SaveGate"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(297) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(299) : error 021: symbol already defined: "id"
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(300) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(302) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(304) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(317) : error 010: invalid function or declaration
C:\Users\Sean\Desktop\Serva\filterscripts\dyn_gate s.pwn(321) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Reply
#17

Dope
Reply
#18

SQLite Can't be downloaded, Can u help me?
Reply
#19

i want the amx file
Reply
#20

rootcause, you don't use index id from the script? I don't see variable to store the gate ID.

EDIT: I thought of this case to avoids duplicate entry in MySQL.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)