Forum

> > CS2D > General > Is anyway to equip only 1 melee weapon ?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Is anyway to equip only 1 melee weapon ?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Is anyway to equip only 1 melee weapon ?

phihung940
User Off Offline

Zitieren
Hi, I'm working with the "Classes.lua" (Basic script) and I want my class (Gunner) use Chainsaw only. Basicly... I want all class are equip with 1 MELEE weapon only, it can be Knife, Machete, Chainsaw, Claw, Wrench, but canot both of all of it! Can someone help me ? Thank first

P/S: and can someone tell me, is anyway to set the speed when carry other weapons to one value only ? like normal speed of character are 5 then he change weapon to knife then his speed is faster (6) kind of... I dont know.
1× editiert, zuletzt 11.08.11 06:22:19

alt Re: Is anyway to equip only 1 melee weapon ?

Bowlinghead
User Off Offline

Zitieren
1. You can Strip your Knife, ist easy.
1
2
3
4
5
addhook("spawn","unlimetunlimetunlimetxd")
function unlimetunlimetunlimetxd(id)
	parse("strip "..id.." 50")
	return "x";
end

This Code is stupid because your knife get striped and you get it back

2. How do you mean "to set the speed when carry other weapons to one value only ?"? Do you mean that you have at everytime the same speedmode no matter what weapons the player is warrying?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht