Forum

> > CS2D > Scripts > Error in script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Error in script

2 replies
To the start Previous 1 Next To the start

old Error in script

superpegamento
User Off Offline

Quote
Hi us

Say:

1
2
3
4
5
6
for _, usgn in ipairs(viplist) do
if player(id,'usgn') == usgn then
msg("©000255000V.I.P ©255255255 "..player(id,"name").." : ©255255000"..message)
return 1
end
end

the function of the say is canceled by the following script, somehow they are compatible?

1
2
3
4
5
6
7
8
if message:sub (1,1) == "!" then
comandolista = {"!cmds","!s","!rs"}
comando = message:sub(1):split(' ')
if not checkComando(comando[1]) then
msg2(id,"©000255000Data: ©255000000¡Comando inexistente o mal escrito!")
return 1
end
end

old Re: Error in script

Infinite Rain
Reviewer Off Offline

Quote
To anyone who will try to fix his script:

Tabbed version of the first code >


Tabbed version of the second code >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview