Garry's Mod

Garry's Mod

Friendly Gnome
SLURRRPZA 5. juni 2013 kl. 5.12
Why this dont work in online mode
Hi Guys i want share with you mi idea. Should the creator of the addon make it for multiplayer?
Its works but it only follow you no your friends, i think this will be more scary if it kill all users in the sv.
ps: Sorry for my English if you dont understand it
Sist redigert av SLURRRPZA; 5. juni 2013 kl. 8.17
< >
Viser 111 av 11 kommentarer
✞ Skones ✞ 5. juni 2013 kl. 8.14 
Nope
SLURRRPZA 5. juni 2013 kl. 8.18 
Opprinnelig skrevet av PepsiPop:
Online lol.
Thx for say it i didn´t see that
Dez  [utvikler] 5. juni 2013 kl. 9.49 
If you know how to script to have it select random people in the server, be my guest. Otherwise, I don't know how.
SLURRRPZA 6. juni 2013 kl. 6.48 
mmmm im going to try it
Sist redigert av SLURRRPZA; 7. juni 2013 kl. 8.12
Well, when in multiplayer, the gnome targets a player, but since there's many players, the gnome's AI might screw up.
Sist redigert av 󠀡󠀡󠀡󠀡󠀡󠀡󠀡󠀡; 7. juni 2013 kl. 6.58
Little Dude 8. juni 2013 kl. 13.42 
For me, it jsut attacks the person who spawned it :(
Dez  [utvikler] 9. juni 2013 kl. 11.43 
Yep, it's coded to select the player that spawned it, but I have no idea how to make it select a random player or a selected player
Ranthos 31. juli 2013 kl. 1.14 
Here's how to make it select a random player. Replace ENT:SpawnFunction with this:
function ENT:SpawnFunction( plr, tr ) if !tr.Hit then return end local ent = ents.Create( self.ClassName ) ent:SetPos( tr.HitPos + tr.HitNormal * 24 ) ent:Spawn() ent:Activate() local rndPlayers=player.GetAll() ent:SetVictim( rndPlayers[math.random(1,#rndPlayers)]) return ent end
GDani 17. aug. 2014 kl. 17.39 
make everyone on the server spawn one, so everyone will have their hunter
Brandonator 28. juli 2016 kl. 8.48 
Bump. Sorry for the necro, but this is still happening. Anyone know of a script he could use?
Undead Unicorn 6. juni 2017 kl. 8.00 
I'm sorry for the necro, too, but it would be nice to have it be multiplayer
< >
Viser 111 av 11 kommentarer
Per side: 1530 50