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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
addhook("spawn","stripweps") addhook("say","gethelp") addhook("say","infoclass") addhook("say","joinclass") addhook("buy","stripweps2") addhook("drop","garbageman") parse("mp_buymenu |||||61,62") parse("mp_deathdrop 4") class = {} function stripweps(player) 	parse("strip "..player.." 0") 	msg2(player,"Type '!help realforce' for help on this gamemode!@C"); end function stripweps2(player,weapon) 	parse("strip "..player.." 0") 	msg2(player,"No buying! Pick your class with '!help realforce'@C"); end function gethelp(player, message) 	if(message == "!help realforce")then 		msg2(player,"Type !join [class] to join the respective class!@C") 		msg2(player,"Type !info [class] for more info about the respective class!@C") 		msg2(player,"Recon@C") 		msg2(player,"Assault@C") 		msg2(player,"Medic@C") 		msg2(player,"Buymenus are disabled, except for ammo!@C") 	end end function infoclass(player, message) 	if(message == "!info recon")then 		msg2(player,"Recon@C") 		msg2(player,"Armour: Stealth Suit@C") 		msg2(player,"Primary: AWP@C") 		msg2(player,"Secondary: USP@C") 		msg2(player,"Special: Cloak@C") 		msg2(player,"Type '!join recon' for this class!@C") 	end 	if(message == "!info assault")then 		msg2(player,"Assault@C") 		msg2(player,"Armour: Light Armour@C") 		msg2(player,"Primary: AK47@C") 		msg2(player,"Secondary: Dessert Eagle@C") 		msg2(player,"Special: Damage@C") 		msg2(player,"Type '!join assault' for this class!@C") 	end 	if(message == "!info medic")then 		msg2(player,"Medic@C") 		msg2(player,"Armour: Heavy Armour@C") 		msg2(player,"Primary: M249@C") 		msg2(player,"Secondary: Glock@C") 		msg2(player,"Special: Medkits@C") 		msg2(player,"Type '!join medic' for this class!@C") 	end end function joinclass(player, message) 	if(message == "!join recon")then 		msg2(player,"Recon selected! Class will take effect on respawn.") 		class[id]=1 	end 		if(message == "!join assault")then 		msg2(player,"Assault selected! Class will take effect on respawn.") 	end 		if(message == "!join medic")then 		msg2(player,"Medic selected!") 	end end function garbageman() 	return 1 end function getweps(player) 	if(class[id] == "recon")then 		return "75"; 	end end