Forum
Scripts
Class script--request
Class script--request
4 replies
1

mrc: 12 class CT 12 class T can you made it edited 1×, last 01.11.20 01:13:07 pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- your generic class code
--[[
	...
]]--
amountOfClasses = 12
addhook("spawn","mySpawn")
function mySpawn(id)
	if (player(id,"bot")) then
		rand = math.random(1, amountOfClasses);	
		if (rand == 1) then
			-- corresponding stats to the first class
			parse("speedmod "..id.." 100")
			return 50, 70;
		elseif (rand== 2) then
		-- corr. stats to the second class
		elseif (rand==3) then
		-...		
		end
	end
end
Bowlinghead: how to add class?
1

Offline