English Error in Script

5 replies
Goto Page
To the start Previous 1 Next To the start
07.08.12 10:34:41 pm
Up
sheeL
User
Offline Off
Spoiler >


Fix to me pls?
i give credits

Error : when i start the server , appers error , i tried to fix, i did not get more , help?

Line 31

thanks us
07.08.12 10:43:18 pm
Up
Yates
Reviewer
Offline Off
Add your pl (id) parameter to all your k(), sl() etc.

Code:
1
return dialog_player()

Why, just, why?

And what's your "error?"
08.08.12 12:08:09 am
Up
sheeL
User
Offline Off
LUA ERROR: sys/lua/Punish PLayer v1.lua:31: '=' expected near 'addhook'
08.08.12 12:21:13 am
Up
Yates
Reviewer
Offline Off
Two things.

Code:
1
2
function muted(pl)
     muted[pl]

Where's the end?

Secondly,
Code:
1
muted[pl]

Is what? True? False?
08.08.12 12:40:37 am
Up
sheeL
User
Offline Off
user Yates has written:
Two things.

Code:
1
2
function muted(pl)
     muted[pl]

Where's the end?

Secondly,
Code:
1
muted[pl]

Is what? True? False?


true

Code:
1
muted[pl]=true
08.08.12 01:46:12 am
Up
KINGGOLDrus
User
Offline Off
Try this code:
Spoiler >
To the start Previous 1 Next To the start