Forum

> > CS2D > Scripts > Whats wrong whit this script commend
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Whats wrong whit this script commend

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Whats wrong whit this script commend

Sniper Killer
User Off Offline

Zitieren
i download i script for my Server Then i see commends saw i try !strip commend but dont work saw i go to the script copy the !strip commends Lines and paste here hope you will help me

1
2
3
4
5
6
7
8
9
10
11
12
if txt:sub(1,6)=="!strip" then
		if pl[id].lvl >= 5 then
			t = tonumber(txt:sub(8,9))
			if not player(t,"exists") then error(id,txt,2) return 1 end
			msg(color[2]..""..pl[id].name..""..color[1].." stripped "..color[2]..""..pl[t].name)
			parse("strip "..t)
			return 1
		else
			error(id,txt,1)
			return 1
		end
	end

alt Re: Whats wrong whit this script commend

THEMUD
User Off Offline

Zitieren
I think the error in the spacing in line 5 between the "".
Copy this line and replace it on the line 5:
1
msg(color[2].." "..pl[id].name.." "..color[1].." stripped "..color[2].." "..pl[t].name)
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht