Files

> > CS2D > Lua Scripts > [Gajos] House Script [v1.0]
Files overviewCS2D overviewLua Scripts overview

English [Gajos] House Script [v1.0] >

25 comments2 kb, 745 Downloads

old [Gajos] House Script [v1.0]

Gajos
BANNED Off Offline

IMG:https://imageshack.us/a/img820/9953/downloadoh.gif


IMG:https://imageshack.us/a/img20/7032/barinfo.png

      • Author: user Gajos
      • Version: 1.0

IMG:https://imageshack.us/a/img5/3604/barfeatures.png

      • Add houses to the map on your server.
      • House only for one player.
      • House is automatically sold when a player comes out of the server.

IMG:https://imageshack.us/a/img823/5892/barcommands.png

      • !help
      • !sell house

IMG:https://imageshack.us/a/img854/8328/barchangelog.png

      ∗ 1.0
          
ADDED
First release.
      ° 1.1
          
ADDED
Adding a co-owner of the house.

IMG:https://imageshack.us/a/img688/7012/barsetup.png

      • Go to the Map Editor and and check a x and y positions house's door
      • Open the config file and write in h.func.AddHouse(x,y)
      • Save the file

IMG:https://i081.radikal.ru/1211/13/2d731e73a3b5.gif
edited 17×, last 05.12.13 10:45:34 pm
Approved by Infinite Rain

Download Download

2 kb, 745 Downloads

Comments

25 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Avo
User Off Offline

Here +
user Gajos has written
till 13.04.13: Gajos PL
Gajoses everywhere. I hope user Gajosik is user Gajos's brother or something.
I like it!

old

Gajosik
BANNED Off Offline

Cool! Now I can add a house only for one player
I like it!

old

Avo
User Off Offline

He uses it, because he's lazy. He would do it in some other way like:
1
2
3
4
5
6
Houses = {}
function blablabla()
	local h = Houses
	--some code
	Houses = h
end
I use this method when in script there are tables with long names.
I like it!

old

mafia_man
User Off Offline

You shouldn't use h as global, because it may be already used in other scripts. Use something longer instead.

old

lucaSWAT
User Off Offline

Deleted File o.O
I like it!
To the start Previous 1 2 Next To the start