Forum

> > CS2D > Scripts > How do make player's faster in non-dedicated serve
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How do make player's faster in non-dedicated serve

15 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

verschoben How do make player's faster in non-dedicated serve

asdbanana
User Off Offline

Zitieren
Hi , so i made this thread for my friend , that had problems whit geting people faster.. so here it is..

1.) Open cs2d Folder
2.) Open sys - lua - server.lua
3.) Open server.lua whit notebook or that kind of program
4.) Find
1
--dofile("sys/lua/samples/fastplayers.lua")			-- sample.fast [Make all players faster] hooks: spawn
If you cant find it then look this code , ill make that code BIG
Mehr >

5.) Now remove ''--'' in front of the code
6.) Save and close the server.lua file and restart cs2d and your ready!

I hope i helped you friend!
3× editiert, zuletzt 09.08.11 15:04:06

Admin/Mod Kommentar

moved...

alt Re: How do make player's faster in non-dedicated serve

asdbanana
User Off Offline

Zitieren
user DannyDeth hat geschrieben
No, leave id as it is! Don't modify it if you don't know what you are doing.

And reading italic text is really annoying. Please stop.


Okay , i wont write in italic anymore

So , this is my server.lua
Mehr >


but speed dont work :S

alt Re: How do make player's faster in non-dedicated serve

asdbanana
User Off Offline

Zitieren
user DannyDeth hat geschrieben
Sorry, it was a small typo. where is says:
1
parse("speedmod "..i.." 100")
change 'i' to 'id'.


Ohh okay thanx !!!

EDIT: omg i srsly suck in this job.. it dosnt work :S i did delete that what was in the end and pasted this
1
2
3
4
addhook("spawn","set_speed")
function set_speed(id)
     parse("speedmod "..id.." 50")
end

did i do anything wrong?
1× editiert, zuletzt 09.08.11 15:09:52

alt Re: How do make player's faster in non-dedicated serve

DannyDeth
User Off Offline

Zitieren
I would suggest just deleting all the lines out of your server.lua file and pasting in the script:
1
2
3
4
addhook("spawn","set_speed")
function set_speed(id)
	parse("speedmod "..id.." 100")
end
You can always add the appropriate dofile statements later, plus it won't be so cluttered anymore.

alt Re: How do make player's faster in non-dedicated serve

asdbanana
User Off Offline

Zitieren
user DannyDeth hat geschrieben
I would suggest just deleting all the lines out of your server.lua file and pasting in the script:
1
2
3
4
addhook("spawn","set_speed")
function set_speed(id)
	parse("speedmod "..id.." 100")
end
You can always add the appropriate dofile statements later, plus it won't be so cluttered anymore.


So i just delet all from the server.lua and paste only the code? ill try later;)


EDIT:It didnt work :S
1× editiert, zuletzt 11.08.11 14:34:28
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht