English I need script for Weapon Rounds

10 replies
Goto Page
To the start Previous 1 Next To the start
Up
Forever Alone
User
Offline Off
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
07.06.13 01:10:29 pm
Up
Snark
User
Offline Off
07.06.13 01:14:02 pm
Up
Forever Alone
User
Offline Off
This is bad. i want one weapon ;//
07.06.13 01:20:34 pm
Up
Snark
User
Offline Off
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
07.06.13 01:29:18 pm
Up
Forever Alone
User
Offline Off
Damn.. I need other script. I will write items id eg.
wpn_id {37,11,22,33,55,66}
and the random eg. Losed TMP!(11), Losed M4A1!(37)
07.06.13 02:49:52 pm
Up
Snark
User
Offline Off
Oh God. Read file description.
07.06.13 04:26:32 pm
Up
Forever Alone
User
Offline Off
Aww... U don't know me... I want witchout spawn positon only simple give weapon ;/
07.06.13 04:48:35 pm
Up
Conscience
User
Offline Off
Code:
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.
Remember to learn to forget. Whiskey shots and cheap cigarettes.
07.06.13 06:55:01 pm
Up
Forever Alone
User
Offline Off
Where to write weapon to draw??
08.06.13 02:45:50 am
Up
MikuAuahDark
User
Offline Off
cs2d cmd spawnitem has written:
IMG:http://www.cs2d.com/img/ref_items.png


Code:
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
Hello? Are you there, Tae Hanazono?
08.06.13 01:03:57 pm
Up
Forever Alone
User
Offline Off
0x45525A41 Thanks you! Best script!
Close the thread!
To the start Previous 1 Next To the start