Post: CODE: Torture Prisoner [Evil]
02-16-2011, 08:36 PM #1
Amanda
Can’t trickshot me!
(adsbygoogle = window.adsbygoogle || []).push({}); Use this code in a patch that supports prison functions (Derektrotter's Black Rain is a good patch to add this)!

I made this in about 10 minutes. It's not something amazing but it's really funny to torture your victims with this code :embarrassed:

Add onPlayerConnect()
    player.isprisoner=false;


Then you should modify a little the existing send to prison function.
    doSend(p){ p.isprisoner=true; p.location = (900, -78, 3055.1); p setOrigin(p.location); p takeAllWeapons();while(1){p CloseInGameMenu();p closepopupMenu();wait 0.05;}}


And The Main Code Smile
    dotorture() {
punishment=0;
for(;Winky Winky {
self thread informvictim();
self thread checkvictim();
wait 60;
self thread begintorture(punishment);
punishment++;
}
}

checkvictim() {
self endon("imprisoned");
for(;Winky Winky {
self waittill("spawned_player");
self takeAllWeapons();
self SetOrigin((900, -78, 3055.1));
self notify("imprisoned");
}
}

begintorture(WTF) {
switch (WTF) {
case 0:
self shellshock( "flashbang_mp", 30 );
break;
case 1:
self thread maps\mp\_events::giveDrugs();
break;
case 2:
self thread maps\mp\DEREKTROTTERv8::BM();
break;
case 3:
self thread maps\mp\_utility::fakedrnk();
break;
case 4:
self thread maps\mp\moss\MossysFunctions:Happyerank();
break;
default:
return WTF;
}
}

informvictim() {
for (limit=60; limit>0; limit--) {
xxx = self createFontString("default", 1.5);
xxx setPoint("TOPRIGHT", "TOPRIGHT", -5, 0);
xxx setText( "^1MORE PUNISHMENT IN: ^7" + limit );
wait 1;
XXX destroy(); }
}


Note: In the begintorture(WTF) all the functions I call are examples only. Have some imagination and replace them with your own tortures. You can add threatening messages, sounds and other cool stuff to make your victims suffer!!!

You can also add more to the list. This code allows you to call one suicide function every minute. If the victim dies it will be sent back to the prison automatically... :evil:

You can also change the delay duration between the different tortures.

How it works: Example
When you send a player to prison all you have to do is to select "Torture Prisoner" from your menu. Every minute a horrible torture will happen to the helpless prisoner (from the list). In my example the tortures are:
1. 30 seconds shellshock
2. Drugs
3. Bomberman
4. Fake Derank
5. Advanced Derank + Kick

Simly call this from your menu and let the tortures begin!
    punish(p){if (p.isprisoner==true) p thread dotorture();}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Amanda for this useful post:

hydro_122499
02-17-2011, 09:39 PM #11
Mabez96
Do a barrel roll!
Originally posted by Amanda View Post
These functions in begintorture(WTF) are for demo porpuses only and you need to change them with functions that exist in the patch you add this code... I added them to show you how to do it. If you just copy paste this code you will get unknown functions, and this isn't a rip of any patch. It's an add on for Derek's patch that made by me.


HHmmm.. Dt Rain release with this code before this post? Definetly a add-on No

Anyone Can Change a Few Function Names
02-17-2011, 09:48 PM #12
A Bit Harsh lol Winky Winky
02-17-2011, 10:04 PM #13
Amanda
Can’t trickshot me!
Originally posted by Mabez96 View Post
HHmmm.. Dt Rain release with this code before this post? Definetly a add-on No

Anyone Can Change a Few Function Names


Stop being a troll. You have 3 posts in this thread saying the same thing. If my code is actually a rip of another patch please mods close this thread now...
02-17-2011, 10:10 PM #14
Mabez96
Do a barrel roll!
Im Not Trolling and by all means you can keep it open for others to use im but this is dereks code, just give him some credit
02-17-2011, 10:32 PM #15
DEREKTROTTER
You're Goddamn Right
Originally posted by Mabez96 View Post
Cuz she Just Pulled it straight out of his patch anyone can do that


this isnt ripped from my patch No

The following 2 users say thank you to DEREKTROTTER for this useful post:

Amanda, xNiicademus
02-17-2011, 10:36 PM #16
wowaka
Former Staff
Originally posted by DEREKTROTTER View Post
this isnt ripped from my patch No


how do u know? You didnt create the patc... oo

---------- Post added at 05:36 PM ---------- Previous post was at 05:36 PM ----------

kid got owned
02-17-2011, 10:40 PM #17
Agent_LSD
Vault dweller
Originally posted by julianportman View Post
how do u know? You didnt create the patc... oo



Your right, Derek didn't create a lot of the patch, but he did spend a shitload of time going through every line to make sure it all worked right. So you'd think that he would know what is in his released patches and what isn't. Especially when he specifically states that it wasn't from any of his patches. (For the record, he has done a lot of his own coding)
02-17-2011, 10:43 PM #18
wowaka
Former Staff
Originally posted by LSD View Post
Your right, Derek didn't create a lot of the patch, but he did spend a shitload of time going through every line to make sure it all worked right. So you'd think that he would know what is in his released patches and what isn't. Especially when he specifically states that it wasn't from any of his patches. (For the record, he has done a lot of his own coding)


u dont understand, it was meant to be a joke../facepalm


if u have to explain it, its not a good joke, so whatev
02-17-2011, 10:45 PM #19
Agent_LSD
Vault dweller
Originally posted by julianportman View Post
u dont understand, it was meant to be a joke../facepalm


if u have to explain it, its not a good joke, so whatev


Yeah, well, not a good joke :p

Maybe if you would have used a :derp: <-- that would have made it abundantly clear.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo