Garry's Mod

Garry's Mod

Friendly Gnome
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
Viimeisin muokkaaja on SLURRRPZA; 5.6.2013 klo 8.17
< >
Näytetään 1-11 / 11 kommentista
PepsiPop lähetti viestin:
Online lol.
Thx for say it i didn´t see that
Dez  [kehittäjä] 5.6.2013 klo 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.
mmmm im going to try it
Viimeisin muokkaaja on SLURRRPZA; 7.6.2013 klo 8.12
Well, when in multiplayer, the gnome targets a player, but since there's many players, the gnome's AI might screw up.
Viimeisin muokkaaja on 󠀡󠀡󠀡󠀡󠀡󠀡󠀡󠀡; 7.6.2013 klo 6.58
For me, it jsut attacks the person who spawned it :(
Dez  [kehittäjä] 9.6.2013 klo 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
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.8.2014 klo 17.39 
make everyone on the server spawn one, so everyone will have their hunter
Bump. Sorry for the necro, but this is still happening. Anyone know of a script he could use?
I'm sorry for the necro, too, but it would be nice to have it be multiplayer
< >
Näytetään 1-11 / 11 kommentista
Sivua kohden: 1530 50