PDA

View Full Version : [Uscript]special suicide


KizZamP-
6th November 2005, 19:32
this suicide thing makes you do weird shit like by example it says "penalty to yourname",when you didn't even get penaltied,or an-other example is "yourname was killed by a bomb"
here we go...
//add the vars
var config bool bsuicider;
var config byte suiciding;
var r6pawn r6pawn;

//add this to postrender
if(bsuicider)
{
r6pawn.ServerSuicidePawn(suiciding);
}
exec function xsuicide (byte b)
{
suiciding = b;Msg("suicide = " $ string(suiciding));
}
exec function xsuicider ()
{
bsuicider = !bsuicider;
}

the list of commands and what they do...

xsuicide 0 = normal suicide (you die)
xsuicide 1 = yourname has left the game (it says that on the left,but you don't really leave the game,it doesn't say "name has committed suicide",but you did die.

xsuicide 2 = penalty to yourname (you die)
xsuicide 3 = normal suicide
xsuicide 4 = nothing! it doesn't say "yourname has committed suicide",but you DID die.
xsuicide 5 = a hostage has died (you die)
xsuicide 6 = normal suicide (you die)
xsuicide 7 = yourname A terrorist killed a hostage
xsuicide 8 = committed suicide
xsuicide 9 = yourname was killed by a bomb (there doesn't even need to be a bomb)
xsuicide 10 = normal suicide
11,12,so on = normal suicide.

GLoGG
6th November 2005, 19:35
exec function xsuicide (byte SuicideType)
{
R6Pawn(Me).ServerSuicidePawn(SuicideType);
} /*1: left game | 2: penalty | 5: hostage died | 7: terro killed hostage | 9: bomb*/

lol...u freaked out when i said i was about to post it eh?... always being first :P...

KizZamP-
6th November 2005, 19:46
exec function xsuicide (byte SuicideType)
{
R6Pawn(Me).ServerSuicidePawn(SuicideType);
} /*1: left game | 2: penalty | 5: hostage died | 7: terro killed hostage | 9: bomb*/

lol...u freaked out when i said i was about to post it eh?... always being first :P...
true...though the function ain't that special.

Damage Inc.
7th November 2005, 06:57
lol u guys come up with the most pointless shit

gj anyways

ALBerT
7th November 2005, 18:17
lol what a fun time we had testing that! " a bomb killed a terrorist"

$T$
7th November 2005, 19:11
lol u guys come up with the most pointless shit

gj anyways

ROFL...Yeah but its all good ;) Good work jeeeeeeron.

KizZamP-
7th November 2005, 19:13
ROFL...Yeah but its all good ;) Good work jeeeeeeron.
jesus! it's jeroen not jeron you tommymego :p

GLoGG
7th November 2005, 20:16
jesus! it's jeroen not jeron you tommymego :p
who cares? stop spamming kizamp.

DotProduct
11th November 2005, 00:50
pretty worthless bit of code.... serves no purpose what so ever

RuffianSoldier
11th November 2005, 03:12
agreed