Forum

> > CS2D > Scripts > I need script for Weapon Rounds
Forums overviewCS2D overview Scripts overviewLog in to reply

English I need script for Weapon Rounds

10 replies
To the start Previous 1 Next To the start

old I need script for Weapon Rounds

Forever Alone
User Off Offline

Quote
I search all forum but i dont find this. I want Weapon Round like Super hero:

Like this:
M4A1 Round! ( all get m4a1 )
or
MP5 Round! (all get mp5 )
etc

old Re: I need script for Weapon Rounds

Snark
User Off Offline

Quote
You can edit it. Damn.
Quote
>Features:
∗You can set round name
∗You can set round weapons
∗You can set round weapon with infinity ammo
∗You can set round spawn position to T/CT
∗You can set weapons that will be on the ground

old Re: I need script for Weapon Rounds

Conscience
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
round = 1
maxround = 3

addhook("spawn","_spawn")
addhook("endround","_endround")

function _spawn(id)
	if round == 1 then -- Checks if it is round 1 (RPG Launcher round)
		return 47 -- equip RPG Launcher (ID 47), multiple weapons = return 1, 2, 3 etc
	elseif round == 2 then -- Your next round, for example laser round
		return 45
	end
end

function _endround(mode)
	round = round + 1
	if round == maxround then -- This will loop the rounds, making the rounds never stop
		round = 1
	end
end
I posted this a couple of hours ago in another thread.

old Re: I need script for Weapon Rounds

MikuAuahDark
User Off Offline

Quote
cs2d cmd spawnitem has written
IMG:https://www.cs2d.com/img/ref_items.png


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
WeaponList_AuahDark={11,32}	-- Add the weapon ID here. All ID of weapons listed above
r=1

addhook("spawn","Auah_Spawn")
function Auah_Spawn(id)
	return WeaponList_AuahDark[r]
end

addhook("endround","Dark_End")
function Dark_End()
	if r==#WeaponList_AuahDark then
		r=1
	else
		r=r+1
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview