English Error in script

2 replies
Goto Page
To the start Previous 1 Next To the start
28.04.14 06:39:09 pm
Up
superpegamento
User
Offline Off
Hi us

Say:

Code:
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?

Code:
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
28.04.14 07:07:42 pm
Up
Infinite Rain
Reviewer
Offline Off
To anyone who will try to fix his script:

Tabbed version of the first code >


Tabbed version of the second code >
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
28.04.14 07:59:30 pm
Up
DreadMare
User
Offline Off
You lack 1 end in the first version if ur function is in it, ofc.
To the start Previous 1 Next To the start