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 2336 337 338 339 Next To the start

old Re: Lua Scripts/Questions/Help

CoolioG
User Off Offline

Quote
weed_muffin has written
ohey guys

i have a RP server and it needs multiple things.

1st: i need help with arresting people. like, if you hit someone with a claw, it spawns them to jail? it'd be cool to have a f3 menu with instaequip, actions whitch includes teleport and set arrest point

2nd: i need admin gun mods, like sg552 giving you a shop license, claw arresting and so on.
please help me out?


So, you just don't want any original ideas for your RP server and instead want to use the same old mechanics that have been used for decades.

Good show, Chap. Good show.

old Re: Lua Scripts/Questions/Help

MasterAsp
User Off Offline

Quote
Wrong section(I suppose) @The_Flame but, you can get in the File Archives section in the handly little toolbar on the left. It's named RP script or something or the other.

old closed Re: Lua Scripts/Questions/Help

shironeko
User Off Offline

Quote
how make it english?
More >

please help me..

Admin/mod comment

Put the code into [ more ] tags. /TheKilledDeath

old Re: Lua Scripts/Questions/Help

Crash13
User Off Offline

Quote
How to make script! WHO make it from me? pls. (In this script me need to include:[Vips, Mods with attributes(HATS)], vote map pressing "F4" and 3 rounds for all maps, and when a guy takes the flag say it to him:"Go win now!" and destroy supplies if ther are upgraded(and say: Supplies wil be DESTROYED if they are upgraded! with white color!) pls ?
edited 1×, last 27.12.10 07:56:55 am

old Re: Lua Scripts/Questions/Help

sixpack
User Off Offline

Quote
The_Flame has written
how make it english?
More >

Use this [ more ] feature, it really helps everyone!

old Re: Lua Scripts/Questions/Help

shironeko
User Off Offline

Quote
so,how make it english?
More >

old Re: Lua Scripts/Questions/Help

EngiN33R
Moderator Off Offline

Quote
@The_Flame
My eyes!.. Nooooo!..
You just have to know turkish or whatever language this script is written in.
@MAX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
addhook("spawn","addportalgun")
function addportalgun(id)
parse("equip "..id.." 88")
end
end

addhook("die","nodeathdrop")
function nodeathdrop()
return 1
end

addhook("drop","nodrop")
function nodrop()
return 1
end

old closed Try it...

Cooldudecool2424
User Off Offline

Quote
so many possibility's..... How about (look below)! √

~DISCLAMER~ > By opening this spoiler you must agree to make this script(s) or die forever. Even if it is beyond your level of lua scripting. Don't say I didn't warn you.<

Spoiler >

old Re: Lua Scripts/Questions/Help

Rainoth
Moderator Off Offline

Quote
Any help ?
I get Error in my script :
IMG:https://img404.imageshack.us/img404/1035/dedust00004.jpg

I put two lines from some lua and now i get something...
1
2
tx=player(id,"tilex")
ty=player(id,"tiley")

old Re: Lua Scripts/Questions/Help

EngiN33R
Moderator Off Offline

Quote
@batlaizys
Most likely there is no variable called id. Show me the whole script, or at least the part these two lines are in.

old Re: Lua Scripts/Questions/Help

wjcf1290
User Off Offline

Quote
@brk951753
Spoiler >

(↑from sys/lua/info.txt)

use walkover.

old closed Re: Lua Scripts/Questions/Help

JONY
User Off Offline

Quote
MAX-russia has written
I dont haw nothin to talk

Put the code that EngiN33R wrote to sys/lua/server.lua.

Same in russian (may be he doesnt understand english):
Код который тебе написали скопируй, потом открой файл server.lua и положи этот код в самый конец файла, понял?

J.

old Re: Lua Scripts/Questions/Help

J4x
User Off Offline

Quote
it´s possible to change the projectile type of a weapon?
i mean its possible that a m4 shoot grenades? i found this in info.txt
1
2
3
4
5
projectile(id,weapon,x,y)				on projectile/grenade impact
-id: id of player who shot
-weapon: weapon type of projectile
-x: x position of impact (pixels)
-y: y position of impact (pixels)
To the start Previous 1 2336 337 338 339 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview