23.01.2013, 19:06
Since i found so many great answer's on this forum and alot of more better script's , i really think it is time for me to release some of it as my appreciation for other people hard work...
Anyway let's cut to the deal shall we.. So with this fiterscript you can create IN game dynamic entrances to the interiors or any place you want. After you create one entrance it's automatically saved to the scriptfiles directory. Also it load's when you restart the server.
What do you need?
To make this script work you need
1. Y_INI Libaries
2. Incognito Streamer
3. Sscanf
Inside download file you have latest versions of above.
1. Download the filterscript and extract it to your server directory
2. Open your server.cgf file and add under filterscripts line DynamicEntrances
3. Start your server and log into as rcon admin
4. Go in front the place you want to set the enter icon and type the command /createentrance
Parameters are next:
Remember the place you are standing is your ENTRANCE and coordinaters you are writing are the exit ones.
This way is done for preloaded game interiors
IMPORTANT: To make entrance at custom interior the best way to done it properly is to do the same as above, just after you done it you might need to change virtual world when you are inside interior. To do this go to scriptfiles/Entrances and edit the entrance you want. Or you can make yourself a small command for thatREAD
Below are saved file parameters. To adjust inside interior virtual worldchange eInsideWorld to the world you want/need to use
It may look too complicated but belive me it's is quite simple. By the way to enter interior use SUBMISSION KEY (2)
Feedback would be appreaciated. Enjoy...
DOWNLOAD:
DynamicEntrances.rar
P.S Labels over icon are visible after server restart
Anyway let's cut to the deal shall we.. So with this fiterscript you can create IN game dynamic entrances to the interiors or any place you want. After you create one entrance it's automatically saved to the scriptfiles directory. Also it load's when you restart the server.
What do you need?
To make this script work you need
1. Y_INI Libaries
2. Incognito Streamer
3. Sscanf
Inside download file you have latest versions of above.
1. Download the filterscript and extract it to your server directory
2. Open your server.cgf file and add under filterscripts line DynamicEntrances
3. Start your server and log into as rcon admin
4. Go in front the place you want to set the enter icon and type the command /createentrance
Parameters are next:
pawn Код:
/createentrance [entrancelabel] [exitlabel] [interior] [X] [Y] [Z] [outsideicon] [insideicon]
Example: /createentrance LSPD-ENTRANCE LSPD-GARAGE 6 246.783996 63.900199 1003.640625 1242 1247
This way is done for preloaded game interiors
IMPORTANT: To make entrance at custom interior the best way to done it properly is to do the same as above, just after you done it you might need to change virtual world when you are inside interior. To do this go to scriptfiles/Entrances and edit the entrance you want. Or you can make yourself a small command for thatREAD
Below are saved file parameters. To adjust inside interior virtual worldchange eInsideWorld to the world you want/need to use
pawn Код:
eEntranceLabel = yourlabel
eExitLabel = yourlabel
eEntranceX = 1144.622924
eEntranceY = -1329.693603
eEntranceZ = 13.779999
eEntranceA = 273.065521
eExitX = 1143.471801
eExitY = -1303.865966
eExitZ = 1349.385986
eExitA = 0.000000
eInt = 0
eWorld = 0
eInsideInt = 1
eInsideWorld = 5
eInsideIcon = 1318
eOutsideIcon = 1240
Feedback would be appreaciated. Enjoy...
DOWNLOAD:
DynamicEntrances.rar
P.S Labels over icon are visible after server restart