Post: suicide isue
10-09-2015, 07:50 AM #1
xPlayer420
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Why wont

suicide()
{
player suicide();
}

work for me?
(adsbygoogle = window.adsbygoogle || []).push({});
10-09-2015, 08:02 AM #2
DF_AUS
NextGenUpdate Elite
Originally posted by xPlayer420 View Post
Why wont

suicide()
{
player suicide();
}


Try this:



work for me?


Try this:

    suicide(player)
{
player iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self iprintln("^5You ^2Suicided ^5That Bitch");
player suicide();
}

The following user thanked DF_AUS for this useful post:

xPlayer420
10-09-2015, 09:17 AM #3
-Numb
You talkin to me?
Originally posted by xPlayer420 View Post
Why wont

suicide()
{
player suicide();
}

work for me?


The function is for yourself so it need to be self not player.
    suicide()
{
self suicide();
}

The following user thanked -Numb for this useful post:

xPlayer420
10-09-2015, 06:45 PM #4
xPlayer420
Bounty hunter
I tried both and it didnt work....
10-09-2015, 06:51 PM #5
-Numb
You talkin to me?
Originally posted by xPlayer420 View Post
I tried both and it didnt work....


Then you call the function wrong.
If it is in the menu you put ::suicide); in the option you want it.
If its not in the menu you do self suicide(); to call it.
10-09-2015, 07:06 PM #6
xPlayer420
Bounty hunter
Originally posted by Numb View Post
Then you call the function wrong.
If it is in the menu you put ::suicide); in the option you want it.
If its not in the menu you do self suicide(); to call it.


self MenuOption("Main Mods Menu", 5, "Suicide", ::suicide);

suicide()
{
player iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self iprintln("^5You ^2Suicided ^5That Bitch");
self suicide();
}

thats what i put
10-09-2015, 07:12 PM #7
-Numb
You talkin to me?
Originally posted by xPlayer420 View Post
self MenuOption("Main Mods Menu", 5, "Suicide", ::suicide);

suicide()
{
player iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self iprintln("^5You ^2Suicided ^5That Bitch");
self suicide();
}

thats what i put


DoSuicide()
{
self iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self suicide();
}

self MenuOption("Main Mods Menu", 5, "Suicide", :HappyoSuicide);

Fixed it a little.. I just found out why it do not work lol, the function name can not be "suicide" Winky Winky

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

imHaTeZ, xPlayer420
10-09-2015, 07:16 PM #8
xPlayer420
Bounty hunter
Originally posted by Numb View Post
DoSuicide()
{
self iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self suicide();
}

self MenuOption("Main Mods Menu", 5, "Suicide", :HappyoSuicide);

Fixed it a little.. I just found out why it do not work lol, the function name can not be "suicide" Winky Winky


Lol ill try it :P
10-09-2015, 07:20 PM #9
xPlayer420
Bounty hunter
Originally posted by Numb View Post
DoSuicide()
{
self iPrintlnBold("^2Dumb Kunt^7...^5Why Kill Yourself?");
self suicide();
}

self MenuOption("Main Mods Menu", 5, "Suicide", :HappyoSuicide);

Fixed it a little.. I just found out why it do not work lol, the function name can not be "suicide" Winky Winky


It work Happy
10-09-2015, 07:21 PM #10
Procyon
Gym leader
Is it a players option or a self option? If it's a self option do this:

doSuicide()
{
self suicide();
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo