Forum

> > CS2D > Scripts > How do make player's faster in non-dedicated serve
Forums overviewCS2D overview Scripts overviewLog in to reply

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

15 replies
To the start Previous 1 Next To the start

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

asdbanana
User Off Offline

Quote
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
More >

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!
edited 3×, last 09.08.11 03:04:06 pm

Admin/mod comment

moved...

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

asdbanana
User Off Offline

Quote
user DannyDeth has written
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
More >


but speed dont work :S

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

asdbanana
User Off Offline

Quote
user DannyDeth has written
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?
edited 1×, last 09.08.11 03:09:52 pm

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

DannyDeth
User Off Offline

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

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

asdbanana
User Off Offline

Quote
user DannyDeth has written
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
edited 1×, last 11.08.11 02:34:28 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview