Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Lua Scripts/Questions/Help

6.770 Antworten
Seite
Zum Anfang Vorherige 1 2135 136 137338 339 Nächste Zum Anfang

alt Re: Lua Scripts/Questions/Help

Livia
User Off Offline

Zitieren
Blazzingxx hat geschrieben
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.

alt Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Zitieren
Zitat
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 ...

alt Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Zitieren
Blazzingxx hat geschrieben
lol, we should have car script to make a passenger feature.


There already is.. some german made it

alt Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Zitieren
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...

alt Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Zitieren
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

alt Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

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

Oh, it's not your script, but Editorman script. (From Transformation Script)
1× editiert, zuletzt 10.01.10 22:05:18

alt Re: Lua Scripts/Questions/Help

Starkkz
Moderator Off Offline

Zitieren
anyone can help me?.
Spoiler >


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

alt Re: Lua Scripts/Questions/Help

TicTac
BANNED Off Offline

Zitieren
Starkkz hat geschrieben
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

alt Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Zitieren
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 ?

alt Re: Lua Scripts/Questions/Help

Starkkz
Moderator Off Offline

Zitieren
memo hat geschrieben
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?
1× editiert, zuletzt 11.01.10 19:45:21

alt Re: Lua Scripts/Questions/Help

RAVENOUS
BANNED Off Offline

Zitieren
memo hat geschrieben
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
1× editiert, zuletzt 12.01.10 20:53:00

alt Re: Lua Scripts/Questions/Help

ohaz
User Off Offline

Zitieren
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

alt Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Zitieren
There is image function parameter, x or y ( I don't remember very well) to make image on player possition...
1× editiert, zuletzt 11.01.10 20:29:16
Zum Anfang Vorherige 1 2135 136 137338 339 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht