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




Strip System
13 replies



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 04:10:06 pm


Edit: now. He need a script
edited 1×, last 01.08.14 04:11:12 pm

Talk to me in PM and I'll help you.

sarcasm ?

Oh, sorry did not read everything already hired him for PM

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.



But i guess this is what happens when you just put randomly chosen words together just to have a complete sentence


@




