Forum

> > CS2D > Scripts > Neutral Build Lua
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Neutral Build Lua

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Neutral Build Lua

Blade Masterz
User Off Offline

Zitieren
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
1× editiert, zuletzt 14.03.11 17:16:12

alt Re: Neutral Build Lua

mafia_man
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht