Forum

> > CS2D > Scripts > Can someone make me a pistol script?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Can someone make me a pistol script?

2 replies
To the start Previous 1 Next To the start

old Can someone make me a pistol script?

Kevindurant
User Off Offline

Quote
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

old Re: Can someone make me a pistol script?

SeanHoca
User Off Offline

Quote
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.

old Re: Can someone make me a pistol script?

Hajt
User Off Offline

Quote
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview