Forum

> > CS2D > Scripts > How to strip knife and wrench?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How to strip knife and wrench?

26 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt How to strip knife and wrench?

tom282f3
User Off Offline

Zitieren
Well, title hat geschrieben
How do I remove knife when SD/DM/TDM/ZM,
and remove wrench when Cons.?


Please help me ASAP!!! Thanks for your help!!

Enjoy your CS2D
[TW2D]Razgriz

alt Re: How to strip knife and wrench?

Surplus
User Off Offline

Zitieren
Y0u allways have t0 hav atleast 1 meele wep00n.
Use teh search functi0n beforr p0stin!

Admin/Mod Kommentar

no 1337 crap please. read the rules.

alt Re: How to strip knife and wrench?

Yates
Reviewer Off Offline

Zitieren
PartyPooPer hat geschrieben
Y0u allways have t0 hav atleast 1 meele wep00n.
Use teh search functi0n beforr p0stin!

I lol'd Y0u da m4sta
But you can't..

Admin/Mod Kommentar

no 1337 crap please. read the rules.

alt Re: How to strip knife and wrench?

halfire120
User Off Offline

Zitieren
Five hat geschrieben
1
buy a stripper holding a Knife or wrench
LOL

What i found is if you have a machete in your inventory aswell as a knife you can strip the knife, BUT as soon as you drop/strip the machete The knife "Re-Equips" itself.

alt Re: How to strip knife and wrench?

TimeQuesT
User Off Offline

Zitieren
as i think it is impossible to strip all weapons from a player. In an older version of the game was a bug with "spawnplayer" that spawned the player without any weapons.. But that was ugly.

alt Re: How to strip knife and wrench?

RAVENOUS
BANNED Off Offline

Zitieren
TimeQuesT hat geschrieben
as i think it is impossible to strip all weapons from a player. In an older version of the game was a bug with "spawnplayer" that spawned the player without any weapons.. But that was ugly.


Still possible. Requires some tricks.

alt Re: How to strip knife and wrench?

Phenixtri
User Off Offline

Zitieren
Making the fists as a weapon would be great for mods & what not but you can still have the knife as the default weapon for all standard CS2D game mods. That way every ones happy.

This would also make CS2D more flexible mod wise. There would also be no need for any new player sprites just use the knife pose but with a blank skin & some sounds. The knife could also have a drop model too just rename the player held model "knife" to "knife_d" for example.

It would be very simple to make & its not like its one of the retarded ideas out there that would be a pain in the ass to code.

Also the knife can be stripped in a way ... just search for HaRes drop knife lua in the scripts section. The only problem with it is that there is no drop knife model so you can pick it back up again until you re spawn.

alt Re: How to strip knife and wrench?

Dovahkin
User Off Offline

Zitieren
What about saying and equiping?


1
2
3
4
5
6
7
8
9
addhook("say","hole")
function hole(id,txt)
	if(txt=="!knife") then
		parse("equip "..id.." 50")
	
	elseif(txt=="!wrench") then
		parse("equip "..id.." 74")
	end
end

∗hope you like it ::)

alt Re: How to strip knife and wrench?

KiRa_3
User Off Offline

Zitieren
i saw in some citylife that when the admin arrest player, the arrested player will be fully stripped, the knife and wrench will be gone, but i don't know what code was that, i try to find the codes
1× editiert, zuletzt 09.08.11 12:27:42

alt Re: How to strip knife and wrench?

DC
Admin Off Offline

Zitieren
it's a bad idea. it's an invalid game state to have no weapon at all. it will lead to bugs and strange game behavior. don't do it. the game might explode!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht