[FilterScript] Dynamic Entrances - 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 Entrances (
/showthread.php?tid=340404)
Dynamic Entrances -
sekol - 07.05.2012
Dynamic Entrances by sekol
Hello. I was bored today's morning and thought of making something easy to refresh my scripting skills a bit.
I've come up with Dynamic Entrances system that uses:
DJson by DracoBlue
foreach by ******
ZCMD by Zeex
sscanf2 by ******
Streamer Plugin by Incognito
This script uses only one file named "Doors.ini" to hold every entrance in your script.
Commands:
Code:
/aentrance create [name] -> Creates an entrance at your current virtual world, interior and position naming it as you want. This command also gives universal ID to each door so they can be later edited.
/aentrance interior [id] -> Sets defined entrance's interior to your current virtual world, interior and position using defined ID of an entrance.
/aentrance name [id] [new name] -> Changes name of selected entrance to a new one leaving it's ID same as before.
/aentrance delete [id] -> Deletes entrance with defined ID from game and 'Doors.ini' file.
Configuration:
Configuration is easy as pie! We have only two defines to edit, nothing more.
Code:
#define DOORS_FILE "Doors.ini" // This file will hold all data about entrances
#define MAX_DOORS 100 // Maximum number of doors. Change to whatever you want :D
Installation:
Just install all includes and plugins listed above, compile my script, change your server.cfg to use this FS and all needed plugins.
Download:
DynamicEntrances.pwn
I've tested this with bare.pwn script. I'm not sure how will it work with GF's, so...
Re: Dynamic Entrances -
Infinity90 - 07.05.2012
OMG Thanks You Very Much For This Creation! Just What I've Been Looking For!!
10/10
Re: Dynamic Entrances -
sekol - 07.05.2012
Thanks

Enjoy.
Re : Dynamic Entrances -
James_Alonzo - 07.05.2012
can u make video or screenshot ?
Re: Dynamic Entrances -
sekol - 07.05.2012
Why do you need a screenshot or video? It's an simple script with four commands. Nothing to explain here.
Re: Dynamic Entrances -
ReneG - 07.05.2012
You used DJson D:
EDIT: Just looked at the script
Good job.
Re: Dynamic Entrances -
Madox123 - 07.05.2012
Thanks man i really need this

DD
Re: Dynamic Entrances -
sekol - 07.05.2012
Kewl

If you guys have got any ideas on upgrading this just post them here :P Also report bugs if you found any.
Re: Dynamic Entrances -
Lorenzo* - 10.07.2012
This will help my server develop even more, thank you so much! rep!
Re: Dynamic Entrances -
CrnaStrela - 03.08.2012
It dosen't work fore me ..
I hawe 7 Errors and it's sad becouse i realy need this !
Re: Dynamic Entrances -
JJ_PR - 11.08.2012
can I get the .amx
I have djson and It wont compile! Please send me the .amx!
Re: Dynamic Entrances -
Ben_Gale - 11.08.2012
Will try it out nice one thank you
Re: Dynamic Entrances -
JJ_PR - 11.08.2012
Can someone give me the .amx
Re: Dynamic Entrances -
Shetch - 11.08.2012
Great job!
Re: Dynamic Entrances -
[HP]Napola - 14.08.2012
nice job
Re: Dynamic Entrances -
Amora187 - 31.08.2012
So what does it do? I love those awsome new scripts!!!!
Re: Dynamic Entrances -
Mr.Faqahat - 01.09.2012
Quote:
Can someone give me the .amx
|
K. I just put in The Includes and .amx , .pwn in this hope it will help
http://www.solidfiles.com/d/242d98abc9/
..
It will be Good if there will be a Command /enter to enter the Door
Re: Dynamic Entrances -
lean1337 - 06.02.2013
awesomeeeee! Installing this.
Re: Dynamic Entrances -
RedWingz - 06.02.2013
Nicely done, Downloading it right now.