Forum

> > CS2D > Scripts > Neutral Build Lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English Neutral Build Lua

1 reply
To the start Previous 1 Next To the start

old Neutral Build Lua

Blade Masterz
User Off Offline

Quote
Hi, I want make application in lua for all player always build Building neutral, for the turret terrorist kill other terrorist in construction Mode.
Thx
edited 1×, last 14.03.11 05:16:12 pm

old Re: Neutral Build Lua

mafia_man
User Off Offline

Quote
Terrorist turret killing other terrorist player in construction gamemode is impossible.

Only Neutral Buildings :
1
2
3
4
5
addhook( "buildattempt", "buildneutral")
function buildneutral( id, t, x, y)
	parse( 'spawnobject '.. t ..' '.. x ..' '.. y ..' '.. player( id, "rot") ..' 0 0 '.. id)
	return 1
end

Only White/Spectator Team Buildings :
1
2
3
4
5
addhook( "buildattempt", "buildneutral")
function buildneutral( id, t, x, y)
	parse( 'spawnobject '.. t ..' '.. x ..' '.. y ..' '.. player( id, "rot") ..' 0 3 '.. id)
	return 1
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview