Forum

> > CS2D > Scripts > Script not Working...
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Script not Working...

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Script not Working...

Obviously Exactly Myself
User Off Offline

Zitieren
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
cheats = {1} -- Allow Cheat Codes (1=true,0=false)

addhook("say","codes")
function codes(id,txt)
	if cheats == 1 then
		if (txt=="BattleBottle") then
			parse("equip "..id.." 73")
			parse("setweapon "..id.." 73")
		else
			if (txt=="LightAmplificationByStimulatedEmissionOfRadiation") then
				parse("equip "..id.." 45")
				parse("setweapon "..id.." 45")
			elseif (txt=="RocketPropelledGrenade") then
				parse("equip "..id.." 47")
				parse("setweapon "..id.." 47")
			elseif (txt=="WeLoveSatanForReal") then
				parse("equip "..id.." 46")
				parse("setweapon "..id.." 46")
			elseif (txt=="RefillNeededForMe") then
				parse("equip "..id.." 64")
			elseif (txt=="MyBodyReallyNeedsSomeProtection") then
				parse("equip "..id.." 83")
			elseif (txt=="HiddenWithCamouflage") then
				parse("equip "..id.." 84")
			elseif (txt=="SpeedySprinting") then
				parse("speedmod "..id.." 25")
			elseif (txt=="ReallyWantMyHealthToBeMaximized") then
				parse("setmaxhealth "..id.." 250")
			elseif (txt=="NeverWentToHell") then
				parse("setdeaths "..id.." 0")
			elseif (txt=="BeggingForAllYourMoney") then
				parse("setmoney "..id.." 16000")
			end
		end
	end
end

alt Re: Script not Working...

Kel9290
User Off Offline

Zitieren
change
1
cheats = {1} -- Allow Cheat Codes (1=true,0=false)
to
1
cheats = 1 -- Allow Cheat Codes (1=true,0=false)
and
1
2
3
4
5
if (txt=="BattleBottle") then
               parse("equip "..id.." 73")
               parse("setweapon "..id.." 73")
          else
               if (txt=="LightAmplificationByStimulatedEmissionOfRadiation") then
to
1
2
3
4
if (txt=="BattleBottle") then
               parse("equip "..id.." 73")
               parse("setweapon "..id.." 73")
          elseif (txt=="LightAmplificationByStimulatedEmissionOfRadiation") then

alt Re: Script not Working...

Kel9290
User Off Offline

Zitieren
Yep.
Mehr >
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht