Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Scripts/Questions/Help

6,770 replies
Page
To the start Previous 1 2135 136 137338 339 Next To the start

old Re: Lua Scripts/Questions/Help

Livia
User Off Offline

Quote
Blazzingxx has written
lol, we should have car script to make a passenger feature.

I've made a car script but now totally recoding it.
And ofcourse it has the passenger feature.

old Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Quote
Quote
I fixed bug witch you requested.
Probably it's more tables missing, too many mistakes...


You mean my script?
did you fix it ?
it have very problems ?

thanks any way ...

old Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Quote
Blazzingxx has written
lol, we should have car script to make a passenger feature.


There already is.. some german made it

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
It's by Roni.
That script is not finished car script thought. I think, because it's too basic.
There is many car scripts if you haven't knew.

As I said, if you want car passenger feature, you should post your car script...

old Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Quote
lol heres my car script

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("say","spawn5")
function spawn5(id,txt) 
	if(txt=="!car") then
          freeimage(id)
          parse("speedmod "..id.." 40")
 parse ("setmoney "..id.." "..(player(id,"money")-12000))
          id1=image("gfx/carz/standart.bmp",1,1,200+id) 
          imagescale(id1,1,1) 
          imageblend(id1,0) 
          imagealpha(id1,1.0)
          if (player(id,"team") == 2) then 
               imagecolor(id1,255,255,255) 
                
          elseif (player(id,"team") == 1) then 
               imagecolor(id1,255,255,255) 
          end 
	end
end

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
It's not a car script.
Just car image on player.

Oh, it's not your script, but Editorman script. (From Transformation Script)
edited 1×, last 10.01.10 10:05:18 pm

old Re: Lua Scripts/Questions/Help

Starkkz
Moderator Off Offline

Quote
anyone can help me?.
Spoiler >


i want to put, a image in the floor.
without movement. but doesn't work..
can't understand.

old Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Quote
Starkkz has written
make scripts and ask if you have a dude or problem..
we can help you..


K ill give a try... but anyways i sux lol

old Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Quote
ok what that msg means its come always to me :-

1
LUA ERROR:lua:19:'<eof>' expected near 'end'

and here the script line :-
Spoiler >


any help ?

old Re: Lua Scripts/Questions/Help

Starkkz
Moderator Off Offline

Quote
memo has written
ok what that msg means its come always to me :-

1
LUA ERROR:lua:19:'<eof>' expected near 'end'

and here the script line :-
Spoiler >


any help ?


try this..

Spoiler >


because you not put function and hook..
and that doesn't work without it.

Anyone can answer me plz?
edited 1×, last 11.01.10 07:45:21 pm

old Re: Lua Scripts/Questions/Help

RAVENOUS
BANNED Off Offline

Quote
memo has written
ok what that msg means its come always to me :-

1
LUA ERROR:lua:19:'<eof>' expected near 'end'


<eof> means "end of function" - You don't end the function right.

Edit: I failed epic. Sorry
edited 1×, last 12.01.10 08:53:00 pm

old Re: Lua Scripts/Questions/Help

ohaz
User Off Offline

Quote
lol, no. <eof> means end of file. if there is an end expected, most of the time you didn't end any function right. But <eof> does not mean end of function

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
There is image function parameter, x or y ( I don't remember very well) to make image on player possition...
edited 1×, last 11.01.10 08:29:16 pm
To the start Previous 1 2135 136 137338 339 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview