Garry's Mod

Garry's Mod

Friendly Gnome
SLURRRPZA 2013 年 6 月 5 日 上午 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
最后由 SLURRRPZA 编辑于; 2013 年 6 月 5 日 上午 8:17
< >
正在显示第 1 - 11 条,共 11 条留言
✞ Skones ✞ 2013 年 6 月 5 日 上午 8:14 
Nope
SLURRRPZA 2013 年 6 月 5 日 上午 8:18 
引用自 PepsiPop
Online lol.
Thx for say it i didn´t see that
Dez  [开发者] 2013 年 6 月 5 日 上午 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 2013 年 6 月 6 日 上午 6:48 
mmmm im going to try it
最后由 SLURRRPZA 编辑于; 2013 年 6 月 7 日 上午 8:12
Well, when in multiplayer, the gnome targets a player, but since there's many players, the gnome's AI might screw up.
最后由 󠀡󠀡󠀡󠀡󠀡󠀡󠀡󠀡 编辑于; 2013 年 6 月 7 日 上午 6:58
Little Dude 2013 年 6 月 8 日 下午 1:42 
For me, it jsut attacks the person who spawned it :(
Dez  [开发者] 2013 年 6 月 9 日 上午 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 2013 年 7 月 31 日 上午 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 2014 年 8 月 17 日 下午 5:39 
make everyone on the server spawn one, so everyone will have their hunter
Brandonator 2016 年 7 月 28 日 上午 8:48 
Bump. Sorry for the necro, but this is still happening. Anyone know of a script he could use?
Undead Unicorn 2017 年 6 月 6 日 上午 8:00 
I'm sorry for the necro, too, but it would be nice to have it be multiplayer
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50