Forum

> > CS2D > Scripts > Add killcount with saycommands
Forums overviewCS2D overview Scripts overviewLog in to reply

English Add killcount with saycommands

25 replies
Page
To the start Previous 1 2 Next To the start

old Re: Add killcount with saycommands

Alistaire
User Off Offline

Quote
Thanks, that helps.

----

I have another problem, hope it's the last one;

1
2
if (MM.class[id]==1) then
	if (fragcount[id][MM.class[id]]>100) then

It doesn't work..

old Re: Add killcount with saycommands

EngiN33R
Moderator Off Offline

Quote
What exactly doesn't work - what's the error or whatnot and please provide a bigger piece of code - those two lines contain no error per se.

old Re: Add killcount with saycommands

Alistaire
User Off Offline

Quote
Sry this is the error line

Lua Error has written
[17:14:29] LUA ERROR: sys/lua/medieval modEngy.lua:158: attempt to compare table with number


1
elseif (fragcount[id][MM.class[id]]>=50) and (fragcount[id]<60) then

And I think I know what's wrong..
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview