English 1v1 knife rounds

16 replies
Goto Page
To the start Previous 1 Next To the start
29.11.15 08:16:37 pm
Up
ZaibatsuTEAM
User
Offline Off
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.
The Zaibatsu Networking Service™
29.11.15 08:36:21 pm
Up
Rainoth
Moderator
Offline Off
Learn to script and do it. It's becoming more a request thing than asking for help.
29.11.15 08:41:31 pm
Up
ZaibatsuTEAM
User
Offline Off
I've tried to learn it, but I can't seem to be able to learn it. xd
The Zaibatsu Networking Service™
29.11.15 09:01:00 pm
Up
Rainoth
Moderator
Offline Off
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.
29.11.15 09:04:29 pm
Up
Mora_rus
User
Offline Off
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..
I will finally join the army at 5.07.18 and back after year. bb
29.11.15 09:23:52 pm
Up
ZaibatsuTEAM
User
Offline Off
yes i do learn a bit but there are still things i dont know
The Zaibatsu Networking Service™
29.11.15 09:56:50 pm
Up
Rainoth
Moderator
Offline Off
Yet in this thread you didn't post a single line of code. You could at least TRY to do something.
29.11.15 10:55:34 pm
Up
ZaibatsuTEAM
User
Offline Off
I don't even know where to begin. xdd
or how to begin.
The Zaibatsu Networking Service™
29.11.15 11:50:14 pm
Up
Bowlinghead
User
Offline Off
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
Share time limited free games here
29.11.15 11:57:55 pm
Up
ZaibatsuTEAM
User
Offline Off
thanks bowlinghead, i'll try.
The Zaibatsu Networking Service™
30.11.15 06:39:30 am
Up
Fraizeraust
Moderator
Offline Off
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.
30.11.15 12:33:45 pm
Up
Xirot
User
Offline Off
Code:
1
2
3
4
5
if stupidity (highlevel < 0)
   LearnScripting();
else 
   DontAskforHelp();
end
Yakuza.
30.11.15 01:03:38 pm
Up
ZaibatsuTEAM
User
Offline Off
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.
The Zaibatsu Networking Service™
30.11.15 01:09:49 pm
Up
Sparty
Reviewer
Offline Off
@user ZaibatsuTEAM has written:
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.
user DC has written:
@user omg: Actually a pretty good idea...
30.11.15 01:27:17 pm
Up
ZaibatsuTEAM
User
Offline Off
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.
The Zaibatsu Networking Service™
30.11.15 01:37:15 pm
Up
Talented Doge
User
Offline Off
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.
30.11.15 10:18:51 pm
Up
Avo
User
Offline Off
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.
To the start Previous 1 Next To the start