Forum

> > CS2D > Scripts > Pick up 3 Weapons
Forums overviewCS2D overview Scripts overviewLog in to reply

English Pick up 3 Weapons

12 replies
To the start Previous 1 Next To the start

old Re: Pick up 3 Weapons

Gaios
Reviewer Off Offline

Quote
user -EquinoX- has written
Hi I need a script to let me pick only 3 primary weapons

Pls i need help!


LoL don't use google translator!
I do not know what you mean.
e.g.:
I can make menu.

old Re: Pick up 3 Weapons

-EquinoX-
User Off Offline

Quote
@user Gaios: Sorry i need use translator because im in class of english and im not very good

and the script that only let me pick 3 primary weapons no more

old Re: Pick up 3 Weapons

oxytamine
User Off Offline

Quote
It's actually possible, on walkover equip someone with weapon and then remove weapon from the map. I think.

old Re: Pick up 3 Weapons

Alistaire
User Off Offline

Quote
user oxytamine has written
It's actually possible, on walkover equip someone with weapon and then remove weapon from the map. I think.


No. You gotta strip the player's current primary weapons, then equip them again and save shit to the table.

old Re: Pick up 3 Weapons

omg
User Off Offline

Quote
how is this hard? just because u havent tried it...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
banana_bonanza={}
for i=1,32 do banana_bonanza[i]=0 end

addhook("join","radish_ravager")
function radish_ravager(id)
	banana_bonanza[id]=0
end

addhook("walkover","pizza_party")
function pizza_party(id,item,itemtype)
	if itemtype<50 or itemtype>89 or itemtype==88 then
		for _,weapon in pairs(playerweapons(id)) do
			if itemtype==weapon then
				return 1
			end
		end
		if banana_bonanza[id]<4 then
			banana_bonanza[id]=banana_bonanza[id]+1
			parse("removeitem "..item)
			parse("equip "..id.." "..itemtype)
			return 1
		else
			return 1
		end
	end
end

addhook("die","evil_eggs")
function evil_eggs(id)
	banana_bonanza[id]=0
end

addhook("drop","nugget_nightmare")
function nugget_nightmare(id,item,itemtype)
	if itemtype<50 or itemtype>89 or itemtype==88 then
		banana_bonanza[id]=banana_bonanza[id]-1
	end
end
edited 2×, last 13.09.12 01:14:18 am

old Re: Pick up 3 Weapons

oxytamine
User Off Offline

Quote
user Alistaire has written
No. You gotta strip the player's current primary weapons, then equip them again and save shit to the table.

Yo, dawg, I heard you like equipping players with weapons, so we strip a weapon from you then we equip you with a weapon and then we strip it again.

Dude, you just need to equip it. You can equip over 9000 weapons in one time. No need to strip.

old Re: Pick up 3 Weapons

Alistaire
User Off Offline

Quote
user oxytamine has written
Yo, dawg, I heard you like equipping players with weapons, so we strip a weapon from you then we equip you with a weapon and then we strip it again.


You just ain't doing it right.

old Re: Pick up 3 Weapons

escarabajo
User Off Offline

Quote
no weapon3 have script for cs 1.6 and cs2d no


The game of equip 3 weapon or 6 is half life xd

Or use in cs2d the console and equip weapond secundary
Like m4a1 or flame the easy and no used script
Spoiler >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview