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.
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.