Forum

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

English Error in Script

5 replies
To the start Previous 1 Next To the start

old Error in Script

sheeL
User Off Offline

Quote
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

old Re: Error in Script

Yates
Reviewer Off Offline

Quote
Add your pl (id) parameter to all your k(), sl() etc.

1
return dialog_player()
Why, just, why?

And what's your "error?"

old Re: Error in Script

sheeL
User Off Offline

Quote
LUA ERROR: sys/lua/Punish PLayer v1.lua:31: '=' expected near 'addhook'

old Re: Error in Script

Yates
Reviewer Off Offline

Quote
Two things.

1
2
function muted(pl)
     muted[pl]
Where's the end?

Secondly,
1
muted[pl]
Is what? True? False?

old Re: Error in Script

sheeL
User Off Offline

Quote
user Yates has written
Two things.

1
2
function muted(pl)
     muted[pl]
Where's the end?

Secondly,
1
muted[pl]
Is what? True? False?


true

1
muted[pl]=true

old Re: Error in Script

KINGGOLDrus
User Off Offline

Quote
Try this code:
Spoiler >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview