Dateien

> > CS2D > Lua Scripts > Simple Spawn Protection Script
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Simple Spawn Protection Script >

16 Kommentare2 kb, 618 Downloads

alt Simple Spawn Protection Script

Xej
User Off Offline

* UPDATES *
- All updates and recent notes will now be put inside here.
Spoiler >


A Spawn Protection script that stops people from killing you as soon as you spawn. You will be protected for 10 seconds and you cannot attack during this time, then you will be vulnerable once again and everything will be normal:

NOTE: You can change the time length by changing the 10 to a different number.

Spoiler >


I didn't find anyone that posted a script like this - and if i'm wrong please do so to show me, for i can remove this if needed.

Spoiler >


Use √
Re-Edit √
Rate √
Give Credit √
Profit ×
12× editiert, zuletzt 08.02.18 22:51:02
Zugelassen von GeoB99

Download Download

2 kb, 618 Downloads

Kommentare

16 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

killerboy1
User Off Offline

what spawn do?

is good.?

alt

archmage
User Off Offline

It works, but it could have been done much more simply.
Ich mag es!

alt Helpzz

Lotteria
User Off Offline

SomeBody Help Me ,Help Me Plz.Lua script..Thanks first

alt

Lotteria
User Off Offline

sorry sorry i am stupied,plz help me I just only need lua script
When I kill NPC I got some money

alt

Ninja_Assassin
User Off Offline

@Lotteria

1. Why did you rate it 1/5?

2. Yes you do need help, check the mental clinic

3. Don't request other scripts in someone's file

4.
Troll hat geschrieben
Your fake and gay
Ich mag es!

alt Lua Scipt

Lotteria
User Off Offline

Hey Hi Everybody!!
I need help , so plz some one have me!!
Some One Can Gave Me Lua Script When I kill NPC I got some money.. Help Me PLZ
1× editiert, zuletzt 22.06.11 05:50:31

alt @ LittleChild

Xej
User Off Offline

Zitat
Nice job, AmflicKt but addhook("hit","ej_spawn_p_hit") -- Can't Attack with Spawn Protector On. It's not working I already testing it with my own server I asking someone who wants to be volunteer and some player say I want to be a volunteer So i teleport the volunteer to spawn point and I go die and Shoot the volunteer he get died


That's very strange, it works well with me, i don't know what's wrong, i'll get into it soon.


EDIT: Should be fixed now, i released an update.

Zitat
When someone get spawn protection and he get shooted by another player his health is decrease So If someone using laser gun and shoot the protected player, the protected player will dead right? So did this lua script can be said spawn protection? Please repair it I'm will learning how to make the health cannot decrease even get a laser gun shoot


I also noticed the Laser problem, that you can still kill players if you have a laser. I'll fix everything once i get the time too. Thanks for the heads up

EDIT: Also fixed this, lazers cannot kill anyone, try it out.
2× editiert, zuletzt 22.06.11 03:45:06

alt

dizziness
User Off Offline

Nice job, AmflicKt but addhook("hit","ej_spawn_p_hit") -- Can't Attack with Spawn Protector On. It's not working I already testing it with my own server I asking someone who wants to be volunteer and some player say I want to be a volunteer So i teleport the volunteer to spawn point and I go die and Shoot the volunteer he get died

Another problem
Spoiler >

alt Few Notes here:

Xej
User Off Offline

First off, i wanna thank everyone for such awesome feedback!

Zitat
Textual Content:

Sorry a few problems

•1) It only sets your health to 100 every second, that means if someone were to kill you before 1 second--say awp,scout,m3,xm1014--the spawn protection would be useless.

•2) The player that is spawn protected can hurt others--which makes it pretty unfair if that is used to his advantage.

Edited/Remade


1) it's not every second, it's every 100 milliseconds, plus like Banaan said you sort of already have protection for maybe 1 second, but my script increases it's duration to 10.

2) I fixed this, thanks to you! =D

@Banaan

I added that feature, look in the desc.

@Propnic

It's my own RP script (EJRP), and i'm not planning on releasing but maybe hosting sometime soon

alt

Glix
User Off Offline

what script you use in screenshots?
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

I got something like that
And btw u can make it with console

alt

Banaan
User Off Offline

CS2D always protects spawned players for a short amount of time. In that time, they can kill, but not be killed. This is quite a disadvantage for the other team. When will someone create a script that protects players from spawning opponents?

alt

buraxia3
User Off Offline

Textual Context is saying true lua must be punish players who is the attack protected spawns and protected spawns must be lose protecting if they attacking someone while protecting but still good lua.
Ich mag es!

alt

Apache uwu
User Off Offline

Sorry a few problems

•1) It only sets your health to 100 every second, that means if someone were to kill you before 1 second--say awp,scout,m3,xm1014--the spawn protection would be useless.

•2) The player that is spawn protected can hurt others--which makes it pretty unfair if that is used to his advantage.

Edited/Remade

Mehr >


5/5 For originality!
Ich mag es!

alt AWESOME

Noswear222
User Off Offline

First script 5/5
Good script 5/5
Afk, protectioon script 4/5===5/5
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang