Forum

> > CS2D > Scripts > Strip System
Forums overviewCS2D overview Scripts overviewLog in to reply

English Strip System

13 replies
To the start Previous 1 Next To the start

old Strip System

jeremias
User Off Offline

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

old Re: Strip System

lucaSWAT
User Off Offline

Quote
Simple

1
2
3
strip <id> <wpn>

/strip 1 45
edited 1×, last 01.08.14 04:10:06 pm

old Re: Strip System

MikuAuahDark
User Off Offline

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

old Re: Strip System

XoOt
Super User Off Offline

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

old Re: Strip System

Rainoth
Moderator Off Offline

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

old Re: Strip System

XoOt
Super User Off Offline

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