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.
Forum
Scripts
Strip System
Strip System
13 replies
1

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.
1
2
3
2
3
strip <id> <wpn> /strip 1 45
edited 1×, last 01.08.14 02:10:06 pm
lucaSWAT: idea should work 
Edit: now. He need a script
edited 1×, last 01.08.14 02:11:12 pm
jeremias: Talk to me in PM and I'll help you.
Inflexion: sarcasm ?
Inflexion: Oh, sorry did not read everything already hired him for PM
Inflexion: Ur comments are so useles.. 1
2
3
4
5
6
7
8
9
10
11
12
13
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.

There are some strip commands given in several happytown scripts you might check them and code it to how you need it.
Inflexion is saying
? It's hard for me to grasp what he means about 80% of the time.
Rainoth: But i guess this is what happens when you just put randomly chosen words together just to have a complete sentence
Inflexion: Wtf are you talking about? @
Rainoth: u forgot those 20%.
1

Offline