Forum

> > CS2D > Scripts > Strip System
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Strip System

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Strip System

jeremias
User Off Offline

Zitieren
Can someone make a Strip Script for me?
I want only work for terror, if I say /equip 2 32, the terror have received the weapon, I wanna a script if He is equiped, Strip in the same time.

alt Re: Strip System

lucaSWAT
User Off Offline

Zitieren
Simple

1
2
3
strip <id> <wpn>

/strip 1 45
1× editiert, zuletzt 01.08.14 16:10:06

alt Re: Strip System

MikuAuahDark
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
13
function youractionhere(id)
	-- Your action here!
end

addhook("parse","_parse")
function _parse(cmd)
	if cmd:find("equip %d+ %d+")==1 then
		local id=tonumber(cmd:match("equip (%d+) %d+"))
		if player(id,"exists") and player(id,"team")==1 then
			timer(20,"youractionhere",id)
		end
	end
end

Well, untested.

alt Re: Strip System

XoOt
Super User Off Offline

Zitieren
Thought this topic will be naughty
There are some strip commands given in several happytown scripts you might check them and code it to how you need it.

alt Re: Strip System

Rainoth
Moderator Off Offline

Zitieren
Does anyone actually understand what user Inflexion is saying ? It's hard for me to grasp what he means about 80% of the time.

alt Re: Strip System

XoOt
Super User Off Offline

Zitieren
I just thought the same @user Rainoth:
But i guess this is what happens when you just put randomly chosen words together just to have a complete sentence
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht