Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Hybrid View

  1. #1
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy

    Lightbulb request for awesome code

    hi guys or girls

    i have request for a code that i think will be awesome

    code that should be:

    - if host press button
    - everybody gets black vision
    - everybody is teleported in a circle on just some spot
    - then they get their normal vision back
    - and they slaughter (kill) each other

    i think that will be awesome
    could some1 plz make that for me
    ofcourse i give u credit

    thnx guys, girls

  2. #2
    CaptainMalaysia's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    malaysia
    Posts
    236
    Reputation
    8
    Thanks
    16
    My Mood
    Yeehaw
    go fuck yourself

  3. The Following 2 Users Say Thank You to CaptainMalaysia For This Useful Post:

    cgallagher21 (10-08-2011),Yamato (10-07-2011)

  4. #3
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy

    Angry

    wtf is wrong with you, i just ask for a code cuz im to noobie for that

    and then u get that answer of some pissed guy
    can some1 ban that guy or something and make my code request

  5. #4
    aIW|Convery's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    2,875
    Reputation
    124
    Thanks
    604
    My Mood
    Cynical
    Begging?

    And learn to code rather than begging for simple stuff..

  6. The Following 3 Users Say Thank You to aIW|Convery For This Useful Post:

    cgallagher21 (10-08-2011),tihak (10-07-2011),Yamato (10-07-2011)

  7. #5
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Coded in a few minutes...

    Code:
    NotAwesomeCode()
    {
    level.playerspawn = 0;
    level.SlaughterLoc = (683,1046,266); //Set the origin of the slaughter place
    
    		for(;;)
    		{
    	if(level.playerSpawn != 1)
    	{
    		foreach(player in level.players)
    		{
    		player waittill("spawned_player");
    		level.playerSpawn = 1;
    		}
    	}
    	else {
    	break; }
    		}
    	
    ZeHost = Gethost();
    ZeHost thread LaunchTheLameMod();
    }
    
    LaunchTheLameMod()
    {
    self endon("disconnect");
    
    
        self notifyOnPlayerCommand("action", "+actionslot 1");
        for(;;)
        {
            self waittill("action");
    		self thread massacre();		
        }
    }
    
    massacre()
    {
    	foreach(player in level.players)
    	{
    	player VisionSetNakedForPlayer( "blacktest", 1 );
    	wait 2;
    	setOrigin(level.SlaughterLoc);
    	wait .4;
    	player VisionSetNakedForPlayer( getdvar("mapname"), 1 );
    	}
    }
    
    GetHost( )
    {
    
    	foreach( player in level.players )
    	{
    		if(player isHost())
    			return player;
    	}
    	return 0;
    }
    Last edited by EpicPlayer; 10-07-2011 at 12:17 PM. Reason: Forgot a closing bracket

  8. The Following 2 Users Say Thank You to EpicPlayer For This Useful Post:

    cgallagher21 (10-08-2011),Yamato (10-07-2011)

  9. #6
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy
    dude that code doesnt work,

    unknown function

  10. #7
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by krijnrien View Post
    dude that code doesnt work,

    unknown function
    That's weird...
    Well, I wrote it by mind, but it should work...
    Where did you thread it from?

  11. #8
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Quote Originally Posted by EpicPlayer View Post
    That's weird...
    Well, I wrote it by mind, but it should work...
    Where did you thread it from?
    Code:
    	setOrigin(level.SlaughterLoc);
    self setorigin

  12. #9
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by Yamato View Post
    Code:
    	setOrigin(level.SlaughterLoc);
    self setorigin
    Oh xD
    I didn't notice :/

  13. The Following User Says Thank You to EpicPlayer For This Useful Post:

    Yamato (10-09-2011)

  14. #10
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    Your an Unknown Function

  15. The Following 2 Users Say Thank You to cgallagher21 For This Useful Post:

    tihak (10-09-2011),Yamato (10-08-2011)

  16. #11
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy
    wow,

    why are you guys all so pissed
    and dont want to help me?

  17. #12
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy
    hmm
    stil didnt get it to work
    Last edited by krijnrien; 10-09-2011 at 05:20 AM.

  18. #13
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by krijnrien View Post
    hmm
    stil didnt get it to work
    Do you get a error or something?

    You're supposed to thread this from the game's thread, such as Init in the _rank.gsc

  19. #14
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy
    dude,
    im not a totally noob
    - im dong it in a _rank
    - added in onplayerspawned
    - no error
    - nothing happens
    - ????

  20. #15
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Don't add it in onplayerspawned >.>

    As I said, thread it from init...

Page 1 of 2 12 LastLast

Similar Threads

  1. Trading Awesome CF accounts for Minecraft Codes
    By -Alex in forum Trade Accounts/Keys/Items
    Replies: 14
    Last Post: 04-26-2011, 02:18 PM
  2. [SOLVED]Request for release complete ava hack VC + + source code
    By cqzxc in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 10-05-2010, 08:53 AM
  3. Replies: 0
    Last Post: 02-06-2008, 02:30 AM
  4. Counter Strike Request For Dave
    By quin123 in forum Suggestions, Requests & General Help
    Replies: 6
    Last Post: 08-04-2006, 04:06 PM
  5. Request for Bull3t
    By jadedfrog in forum Help & Requests
    Replies: 18
    Last Post: 07-29-2006, 10:17 PM

Tags for this Thread