SA-MP Forums Archive
[FilterScript] Dynamic Gates - 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: [FilterScript] Dynamic Gates (/showthread.php?tid=595522)

Pages: 1 2


Dynamic Gates - rootcause - 04.12.2015


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

Mediafire || Pastebin



Re: Dynamic Gates - Ritzy2K - 04.12.2015

Great job as always, first, +rep


Re: Dynamic Gates - SilverStand - 04.12.2015

GJ, Keep it up


Re: Dynamic Gates - Pr0GreSiVe - 05.12.2015

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


Re: Dynamic Gates - rootcause - 05.12.2015

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.


Re: Dynamic Gates - jlalt - 05.12.2015

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


Re: Dynamic Gates - StanisaHS - 09.12.2015

error DIALOG_STYLE_TABLIST


Re: Dynamic Gates - AnthonyDaBestt - 09.12.2015

Lovely.


Re: Dynamic Gates - rootcause - 14.12.2015

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.


Re: Dynamic Gates - akib - 19.08.2016

can i get full ysi includes


Re: Dynamic Gates - TahirImran - 19.08.2016

nyc i gona check it


Re: Dynamic Gates - FreAkeD - 19.08.2016

Phenomenal work as always, good job!


Re: Dynamic Gates - Fairuz - 19.08.2016

Good job as always!


Re: Dynamic Gates - KochJaber - 19.08.2016

I got crash when complie


Re: Dynamic Gates - rootcause - 20.08.2016

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.


Re: Dynamic Gates - SeanDenZYR - 18.10.2016

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.




Re: Dynamic Gates - Eoussama - 18.10.2016

Dope


Re: Dynamic Gates - RayanIbrahim - 19.10.2016

SQLite Can't be downloaded, Can u help me?


Re: Dynamic Gates - Anya - 22.10.2016

i want the amx file


Re: Dynamic Gates - justice96 - 06.11.2016

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.