Forum

> > CS2D > Scripts > Cs2d hud lua error
Forums overviewCS2D overview Scripts overviewLog in to reply

English Cs2d hud lua error

No replies
To the start Previous 1 Next To the start

old Cs2d hud lua error

Ryden
User Off Offline

Quote
Hello us
I got a problem it's about the hudtxt of cs2d
I downloaded mafia_mans cs2d lua editor
here is the file file cs2d CS2D Lua Editor 1.1

I downloaded it and i used in my server.
So what i did?:
I downloaded it and i opened the zip file and i copy the cs2d lua editor and past into counter strike 2d file
And i cliked on it , it works!
and i clicked on Hud i placed my hud and it gives me the code
1
parse("hudtxt 0 /"[HàrD] Clan/" 310 0 1")
And i cliked on coulours for put my hudtxt in red colour
So it gives me this
1
parse("hudtxt 0 /"[HàrD] Clan/" 310 0 1")©255000000
So i copyed all and pasted in counter strike 2d folder/sys/lua/Server.lua
I pasted and saved the file and i took cs2d and new game
The hudtxt don't worked
In the console it gives me this
1
LUA ERROR: sys/lua/server.lua:1: ']' expected near 'Ã'
And when i remove it,it gives me another problem a lot of problems
So please correct the problem and post the corrected code in comment please

I hope for your help thanks!
us
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview