Dateien

> > CS2D > Lua Scripts > [xNir] ATM
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [xNir] ATM >

22 Kommentare117 kb, 425 Downloads

alt [xNir] ATM

xNir
User Off Offline

> Description <
This mod allows you to place ATM machines on maps.

spam Versions
v1.0.0 - 07.12.2016 >


illegal Rules
√ You can use/edit this script on your server.
× You are not allowed to copy some parts of this script without permission.
× You are not allowed to say this script as yours.

off-topic Installation
1. Download the archive
2. Extract the content of the archive into your cs2d root folder.
3. Edit the config file.

spam Configuration
You can edit the following settings in the config file <sys/lua/atm/cfg/config.lua>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- Enable/Disable debug mode
ATM.DEBUG = false

-- Model Infos
ATM.MODEL = "gfx/xNir/atm/model/atm.png"

-- Maximum Distance (in tiles) for using an ATM
ATM.MAX_USE_DIST = 2

-- AFK Delay in seconds
ATM.AFK_DELAY = 10

-- Add your positions here 
-- ["map"] = { { x, y, rot (optionnal) }, ... }
-- Example:
--[[ ATM.Locations = {
	[ "de_dust" ] = {
		{ 671, 2292 },
		{ 732, 2292 },
		{ 793, 2292 },
	},
	
	[ "de_dust2" ] = {
		{ 732, 2292 },
		{ 732, 2400 },
	},
}
--]]
ATM.Locations = {
}

flame How to add ATMs on my server ?

Let's say I want to add tow ATMs on cs_office at the position 500, 500 (random one) and at the position 1000, 1000 with 90° rotation. Add the following lines in the cfg file inside the ATM.Locations array !

1
2
3
4
5
6
ATM.Locations = {
	["cs_office"] = {
		{500,500},
		{1000,1000,90},
	}
}

INFO
ATMs spawn on each restart !
If you don't see ATMs restart the round first !
4× editiert, zuletzt 12.07.16 15:42:42
Zugelassen von Sparty

Download Download

117 kb, 425 Downloads

Kommentare

22 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

BcY
Reviewer Off Offline

I remember Gmod's DarkRP mod servers,looks like nearly same.Good job,deserves a like.
Ich mag es!

alt

Mami Tomoe
User Off Offline

Looks useful!
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang