Post: Just Needing 2 Things
06-05-2016, 06:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

I just need 2 scripts that I figure some of you guys out there will have!*

1: Shoot Moving Dog Code

2: Warthog Gun (With Sound Effects-Like From Whalegance or Bossam v6)

That's it guys! Thanks and cheers Enzo
(adsbygoogle = window.adsbygoogle || []).push({});
06-05-2016, 06:36 PM #2
Patrick
League Champion
Just look around you'll find them, I'm sure they're released.
06-06-2016, 08:10 PM #3
Originally posted by 32085
Just look around you'll find them, I'm sure they're released.


Extinct can you link me, cause I can't find any on here man :/ And I know you always find what people need in the questions area!
That'd be great if you could link me both fam Enzo
06-06-2016, 09:33 PM #4
Patrick
League Champion
Originally posted by That1Modder View Post
Extinct can you link me, cause I can't find any on here man :/ And I know you always find what people need in the questions area!
That'd be great if you could link me both fam Enzo


Ugly code but it isnt mine so idc.
    spawnDog( team )
{
self endon("disconnect");
self endon("death");

for(;:wink:
{
self waittill ("weapon_fired");

dog_spawner = GetEnt( "dog_spawner", "targetname" );
level.dog_abort = false;

if( !IsDefined( dog_spawner ) )
{
iprintln( "No dog spawners found in map" );
return;
}

direction = self GetPlayerAngles();
direction_vec = AnglesToForward( direction );
eye = self GetEye();

scale = 8000;
direction_vec = ( direction_vec[0] * scale, direction_vec[1] * scale, direction_vec[2] * scale );
trace = bullettrace( eye, eye + direction_vec, 0, undefined );

nodes = GetNodesInRadius( trace["position"], 256, 0, 128, "Path", 8 );

if ( !nodes.size )
{
iprintln( "No nodes found near crosshair position" );
return;
}
iprintln( "Spawning dog at your crosshair position" );
node = getclosest( trace["position"], nodes );

dog = dog_manager_spawn_dog( self, self.team, node, 5 );
}
}


and for the warthog gun its simple to remake, try it!
06-07-2016, 02:23 AM #5
Originally posted by 32085
Ugly code but it isnt mine so idc.
    spawnDog( team )
{
self endon("disconnect");
self endon("death");

for(;:wink:
{
self waittill ("weapon_fired");

dog_spawner = GetEnt( "dog_spawner", "targetname" );
level.dog_abort = false;

if( !IsDefined( dog_spawner ) )
{
iprintln( "No dog spawners found in map" );
return;
}

direction = self GetPlayerAngles();
direction_vec = AnglesToForward( direction );
eye = self GetEye();

scale = 8000;
direction_vec = ( direction_vec[0] * scale, direction_vec[1] * scale, direction_vec[2] * scale );
trace = bullettrace( eye, eye + direction_vec, 0, undefined );

nodes = GetNodesInRadius( trace["position"], 256, 0, 128, "Path", 8 );

if ( !nodes.size )
{
iprintln( "No nodes found near crosshair position" );
return;
}
iprintln( "Spawning dog at your crosshair position" );
node = getclosest( trace["position"], nodes );

dog = dog_manager_spawn_dog( self, self.team, node, 5 );
}
}


and for the warthog gun its simple to remake, try it!


Thanks soo much fam <3 And I got the Warthog Gun Working myself man Winky Winky
If you could do me an even bigger favor, you could add me on skype! I want you to do somethings with me to
my menu v1.2 man.... I'll give credit if you have the time fam <3 Cheers

Edit: That code above doesn't work man :/ For me it says "Error Around line 7138!"
If you could clean that code up, it'd be great fam.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo