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 2336 337 338 339 Nächste Zum Anfang

alt Re: Lua Scripts/Questions/Help

CoolioG
User Off Offline

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

alt Re: Lua Scripts/Questions/Help

MasterAsp
User Off Offline

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

alt geschlossen Re: Lua Scripts/Questions/Help

shironeko
User Off Offline

Zitieren
how make it english?
Mehr >

please help me..

Admin/Mod Kommentar

Put the code into [ more ] tags. /TheKilledDeath

alt Re: Lua Scripts/Questions/Help

Crash13
User Off Offline

Zitieren
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 ?
1× editiert, zuletzt 27.12.10 07:56:55

alt Re: Lua Scripts/Questions/Help

sixpack
User Off Offline

Zitieren
The_Flame hat geschrieben
how make it english?
Mehr >

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

alt Re: Lua Scripts/Questions/Help

shironeko
User Off Offline

Zitieren
so,how make it english?
Mehr >

alt Re: Lua Scripts/Questions/Help

EngiN33R
Moderator Off Offline

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

alt geschlossen Try it...

Cooldudecool2424
User Off Offline

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

alt Re: Lua Scripts/Questions/Help

Rainoth
Moderator Off Offline

Zitieren
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")

alt Re: Lua Scripts/Questions/Help

EngiN33R
Moderator Off Offline

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

alt Re: Lua Scripts/Questions/Help

wjcf1290
User Off Offline

Zitieren
@brk951753
Spoiler >

(↑from sys/lua/info.txt)

use walkover.

alt geschlossen Re: Lua Scripts/Questions/Help

JONY
User Off Offline

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

alt Re: Lua Scripts/Questions/Help

J4x
User Off Offline

Zitieren
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)
Zum Anfang Vorherige 1 2336 337 338 339 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht