Forum

> > CS2D > Scripts > Skin on Wall
Forums overviewCS2D overview Scripts overviewLog in to reply

English Skin on Wall

7 replies
To the start Previous 1 Next To the start

old Skin on Wall

KabirDuy
User Off Offline

Quote
I want one script that can add one skin on the wall III. Or changing its skin. Thanks

old Re: Skin on Wall

Alistaire
User Off Offline

Quote
Dude use the fucking search function or grow brains; the gmod script is pretty much only this.

old Re: Skin on Wall

omg
User Off Offline

Quote
because everyone correlates graphics on walls with gmod script...

old Re: Skin on Wall

mansu321progamers
User Off Offline

Quote
user Alistaire has written
Dude use the fucking search function or grow brains; the gmod script is pretty much only this.

Mad 11-15 year old detected... calm your shit.

old Re: Skin on Wall

Alistaire
User Off Offline

Quote
user mansu321progamers has written
user Alistaire has written
Dude use the fucking search function or grow brains; the gmod script is pretty much only this.

Mad 11-15 year old detected... calm your shit.


I told the dude to use the search engine on the site. And according to your recent threads you should grow brains as well. Thanks and have fun.

old Re: Skin on Wall

Yamaxanadu
User Off Offline

Quote
Illogically screaming "11-15 year old!" Just proves that you're in that category

OP : It's graphics, not Scripts, you can also use the Search function

old Re: Skin on Wall

KabirDuy
User Off Offline

Quote
0mg! I want one skin on it. Here's an example:
IMG:https://upanh.ssc.vn/images/654rp_wincity_v1_00001.jpg

on supply have one hat. Or anything else, you have the script?

old Re: Skin on Wall

Gajos
BANNED Off Offline

Quote
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
31
32
33
34
35
36
37
build = {}
buildings={}

addhook("build","build.build")
function build.build(id,type,x,y,mode,objectid)
	if type == 21 then return 0 end
	if type == 3 then
		build.imagepath = "gfx/GajosPL/blocks/dirt.png"
	elseif type == 4 then
		build.imagepath = "gfx/GajosPL/blocks/wood.png"
	elseif type == 5 then
		build.imagepath = "gfx/GajosPL/blocks/stone.png"
	elseif type == 9 then
		build.imagepath = "gfx/GajosPL/blocks/chest.png"
	else
		build.imagepath = nil
	end
	if build.imagepath ~= nil then
		table.insert(buildings,{image(build.imagepath,x * 32 + 16,y * 32 + 16,3),objectid})
	else
		table.insert(buildings,{nil,objectid})
	end
end

addhook("objectkill","build.objectkill")
function build.objectkill(objectid,id)
	for _, i in pairs (buildings) do
		if i[2] + 1 == objectid then
			if i[1] ~= nil then
				freeimage(i[1])
				table.remove(buildings,_)
			else
				table.remove(buildings,_)
			end
		end
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview