Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request How to run this code
#1
("amb_alarm_buzz",((2963, -1934, 468));

How to make it sound ale and the enemy will die in this zone with self.sucide (); within a radius of 200 ? Pls HELP ME ! Smile
Reply

#2
Running through a 'level thread'.
PHP Code:
while(1) {
    if(
isDefined(level.players)) {
        for(
0level.players.sizei++) {
            if(
distance(level.players[i].origin, (2963, -1934468)) <= 200 && isAlive(level.players[i])) {
                
level.players[isuicide();
                
playSoundAtPosition("amb_alarm_buzz", (2963, -1934468));
            }
        }
    }
    
wait 0.1;


Running through a self thread.
PHP Code:
self endon("death");
self endon("disconnect");
while(
1) {
    if(
distance(self.origin, (2963, -1934468)) <= 200) {
        
self suicide();
        
playSoundAtPosition("amb_alarm_buzz", (2963, -1934468));
    }
    
wait 0.1;


Huh
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#3
Yea it's works ! BIG THAKNS ! =D
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 3,658 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 7,793 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,113 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 3,815 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 8,894 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,188 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 2,212 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 5,100 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 3,794 04-05-2013, 18:15
Last Post: SuperNovaAO
Smile Help Help me with a code (who knows) NyZzE 2 2,369 04-05-2013, 01:47
Last Post: NyZzE

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.