Forum

> > CS2D > Scripts > Can someone make me a pistol script?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can someone make me a pistol script?

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Can someone make me a pistol script?

Kevindurant
User Off Offline

Zitieren
Can someone make me a script if I say !pistol it makes everything unbuyable except pistols/nades/armor/etc basically makes every gun unbuyable that isn't a pistol. tyty

alt Re: Can someone make me a pistol script?

SeanHoca
User Off Offline

Zitieren
You can do that in the game settings. (when creating a new game)

> Go to "More Settings" then find mp_unbuyable.
> Add the things (ids) that you want to make unbuyable.
> Then you're good to go.

EDIT: Did you just edited the thread? When I was answering, it didn't included the "!pistol" part.

alt Re: Can someone make me a pistol script?

Hajt
User Off Offline

Zitieren
1
2
3
4
5
6
addhook("say", "_say")
function _say(id, message)
	if message == "!pistol" then
		parse("mp_unbuyable \"M3,XM1014,MP5,TMP,P90,MAC10,UMP45,AK-47,SG552,M4A1,Aug,Scout,AWP,G3SG1,SG550,Galil,Famas,M249,Tactical Shield\"")
	end
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht