Page 4 of 4 FirstFirst ... 234
Results 46 to 55 of 55
  1. #46
    ashy1's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    64
    Reputation
    10
    Thanks
    6
    My Mood
    Doh
    what menu are you using? it works with mine fine the only bloody problem is no sound, cant figure that out.

  2. #47
    token86's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    rustlers menu.

  3. #48
    ashy1's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    64
    Reputation
    10
    Thanks
    6
    My Mood
    Doh
    did you enable the final option like this? [" Kill Self",format[_execx, "target\killself.sqf"],"0","0","0","1",[]];

    notice the last 1?

    not sure if rustlers is the same but just make sure your init script is set for target not all
    Last edited by ashy1; 01-24-2013 at 07:21 AM.

  4. #49
    token86's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    Ye it works now ty. Sometimes i need to add that 1 some scripts i dont. Works now cheers.

  5. #50
    TEAMKILLER's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    G-E-R-M-A-N-Y
    Posts
    273
    Reputation
    10
    Thanks
    21
    My Mood
    Amazed
    Can somone upload maybe somewhere the finished files? Here are so many codes in this thread but i cant figure out which is working.

  6. #51
    token86's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by ashy1 View Post
    this works

    Code:
    _name = _this select 0;
    hint format ["%1 is now killing himself", _name];
    _suicide = format ["if (name player == '%1') then
    {
    		cutText [""Just die. go on, kill your self!!!!"", ""PLAIN"", 2];
    player switchmove ""ActsPercMstpSnonWpstDnon_suicide1B"";
    };", _name];
    [_suicide] execVM "scr\exec.sqf";
    
    sleep 4;
    
    _gunshot = format ["if (name player == '%1') then
    {
    playsound ""gunshot"";
    };", _name];
    [_gunshot] execVM "scr\exec.sqf";
    
    
    sleep 2;
    
    
    _kill = format ["if (name player == '%1') then
    {
    player setdamage 0.99;
    };", _name];
    [_kill] execVM "scr\exec.sqf";
    and mass suicide script (teleports everyone too you then they all say goodbuy and shoot themselfs)
    Code:
    _pos = getPosATL player;
    hint "Teleporting All";
    _tp = format ["if (isServer) then
    {
    	{
    		if (getPlayerUID _x != """") then
    		{
    			(vehicle _x) setPos [(%1 select 0) + random 15, (%1 select 1) + random 15, %1 select 2];
    		};
    	} forEach ([6800, 9200, 0] nearEntities [[""AllVehicles""], 11000]);
    };", _pos];
    [_tp] execVM "scr\exec.sqf";
    
    sleep 1;
    
    _list = call compile preprocessFileLineNumbers "scr\list.sqf";
    hint " Committing Mass Suicide";
    _ksall = format["if !(getPlayerUID player in %1) then
    {
    		cutText [""Just die. go on, kill your self!!!!"", ""PLAIN"", 2];
    player switchmove ""ActsPercMstpSnonWpstDnon_suicide1B"";
    };", _list];
    [_ksall] execVM "scr\exec.sqf";
    
    sleep 4;
    
    _gunshot = format["if !(getPlayerUID player in %1) then
    {
    playsound ""gunshot"";
    };", _list];
    [_gunshot] execVM "scr\exec.sqf";
    
    sleep 2;
    
    _kill = format["if !(getPlayerUID player in %1) then
    {
    player setdamage 0.99;
    };", _list];
    [_kill] execVM "scr\exec.sqf";
    thanks for your help m0nky
    Both these scripts work.

  7. The Following User Says Thank You to token86 For This Useful Post:

    [MPGH]Jim Morrison (01-24-2013)

  8. #52
    svtfan's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    416
    Reputation
    12
    Thanks
    52
    My Mood
    Happy
    Quote Originally Posted by TEAMKILLER View Post
    Can somone upload maybe somewhere the finished files? Here are so many codes in this thread but i cant figure out which is working.
    not hard to figure out which is the right one.. use your brain

    thanks to all who made this work! awesome job

  9. #53
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    Quote Originally Posted by token86 View Post
    Both these scripts work.
    I'll give these a try and report back if they work, also thanks

    ---------- Post added at 04:15 PM ---------- Previous post was at 03:24 PM ----------

    Scripts work, thanks a lot

  10. #54
    sjustin1996's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Always, MPGH
    Posts
    376
    Reputation
    10
    Thanks
    80
    My Mood
    Inspired
    Quote Originally Posted by NormenJaydenFBI View Post
    Yeah I guess you're right, I was pretty amazed when I saw the script; but I got a kick shortly after.
    For SetDamage Restriction #1 right?

  11. #55
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    Quote Originally Posted by sjustin1996 View Post
    For SetDamage Restriction #1 right?
    No, for a public variable restriction.

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. [Request] Kill Self Script
    By Synchorizer1 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 6
    Last Post: 09-07-2012, 07:56 PM
  2. Replies: 41
    Last Post: 10-05-2009, 07:49 AM
  3. Can somebody make some hacks that allow you to kill your opponent with a gun?
    By apocalypsist in forum WarRock - International Hacks
    Replies: 2
    Last Post: 03-25-2009, 07:51 AM
  4. Killing them self
    By Matt1243 in forum General
    Replies: 5
    Last Post: 01-20-2009, 03:57 AM
  5. WHERE MPGH LIVES ADD YOUR SELF
    By Mikeck901323 in forum General
    Replies: 27
    Last Post: 02-21-2008, 08:15 PM