Forum

> > CS2D > Scripts > 1v1 knife rounds
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch 1v1 knife rounds

16 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt 1v1 knife rounds

ZaibatsuTEAM
User Off Offline

Zitieren
if there are 1 player in each team alive, then ask both players (with a menu) saying 2 things, "Agree to death" or "Decline"

If both players agree, weapons will be stripped, players will have super armor and 200 hp for 5 seconds, then after 5 seconds, remove super armor and bring back 100 hp.

When the knife match has begun, the players have 30 seconds to either kill or hurt eachother. if one player has less hp than the other, that player will die automatically when 30 seconds is reached.

But the server can only ask the 2 last players if there were more players on the server and alive. if 1 player is on the server, and 1 joins and those are the only players on the server - do not ask for knife match. there has to be 3 players.

alt Re: 1v1 knife rounds

Rainoth
Moderator Off Offline

Zitieren
Learn to script and do it. It's becoming more a request thing than asking for help.

alt Re: 1v1 knife rounds

Rainoth
Moderator Off Offline

Zitieren
You'll have to do it. Nobody is going to bother to do all of your requests. We can help you if you have scripting problems, otherwise, it's unlikely.

alt Re: 1v1 knife rounds

Mora
User Spielt CS2D

Zitieren
I remember i'm always asking about lua.. but even if i always got answer - i learn it(not really learnt, but something i know and can make such scripts and some of admin/happytown/roleplay scripts)
And i'm also didn't knew how can i do all this shit, i didn't even knew english for it.. i used virusness tool for make lua..
Don't be lazy, somewhere LUA in cs2d like a english..

alt Re: 1v1 knife rounds

Rainoth
Moderator Off Offline

Zitieren
Yet in this thread you didn't post a single line of code. You could at least TRY to do something.

alt Re: 1v1 knife rounds

Bowlinghead
User Off Offline

Zitieren
Just look up on http://www.cs2d.com/help.php, there is basicly all information you need.

How to start:
You only want to have 2 player alive. So you need the cs2d lua hook die hook.
Then you want to check if there are 2 people alive. You should check the cs2d lua cmd player command.
If there are 2 player alive then you have to open the cs2d lua cmd menu command (together with cs2d lua hook menu hook. You also need a 30s cs2d lua cmd timer . For giving player super armor, etc. you also have to use a 5s timer and cs2d lua cmd parse

alt Re: 1v1 knife rounds

GeoB99
Moderator Off Offline

Zitieren
In a way, user Rainoth is right at this point. Asking for help in a code is one thing but requesting one simultaneously is another thing.
If you feel a total newbie at Scripting you can get started with a tutorial made by Ohaz (I'm pretty you can search it easily) and I recommend you this lua pil.
http://www.lua.org/pil/1.html

Other than that, there are some tutorials too out there such as thread cs2d [GUIDE] How to script, you can check them. This is just a side note.

alt Re: 1v1 knife rounds

Xirot
User Off Offline

Zitieren
1
2
3
4
5
if stupidity (highlevel < 0)
   LearnScripting();
else 
   DontAskforHelp();
end

alt Re: 1v1 knife rounds

ZaibatsuTEAM
User Off Offline

Zitieren
meh... I'm only asking cuz I know most of you guys are great at scripting and may as well help someone who's not so good at it.

but fine, be selfish then.
I'm trying my best to learn but I consider it hard. and knowing there are people who could help but won't makes me just sad. but fuck it. just nevermind it.

I have tons of ideas and I manage to make most of them, but there are some that I can't make due to lack of coding skills.

alt Re: 1v1 knife rounds

Sparty
Reviewer Off Offline

Zitieren
@user ZaibatsuTEAM hat geschrieben
but fine, be selfish then.
I'm trying my best to learn but I consider it hard. and knowing there are people who could help but won't makes me just sad. but fuck it. just nevermind it.

We're not selfish just sick of people asking. You know the meaning of learning right? Just try to learn and post the errors, if you have any.

alt Re: 1v1 knife rounds

ZaibatsuTEAM
User Off Offline

Zitieren
sick of people asking.. idk, learn to deal with them and help them possibly?
and i fucking mentioned "I'm trying my best to learn" but apparently you ignored that. xd

sorry for swearing.

EDIT: I'm currently making the script myself what so ever, wish me luck.

alt Re: 1v1 knife rounds

Talented Doge
User Off Offline

Zitieren
I am 100% sure if you will pay for whoever writing the code for you, you will get help.

Sometimes people are just tired of writing long shit themselves. This one is easy but long. Do it yourself.

alt Re: 1v1 knife rounds

Avo
User Off Offline

Zitieren
The truth has been told, here you should ask for help only. One does not simply have time to do the whole script for you.

Lua isn't very complicated, as everything, it needs time to be understood. Just keep trying.

Btw, money is always a good way to encourage people to make something for you.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht