• Remove all owners barriers when he cahnges his job
    4 replies, posted
[CODE] local function RemoveBarriercyl( ply ) for k,v in pairs(ents.FindByClass("entity_barriercyl")) do v:Remove() end end hook.Add( "OnPlayerChangedTeam", "removebarries1", RemoveBarriercyl ) [/CODE] All what i need is when someone changes his job all HIS OWNE barriers will be removed plz help. thx.
Would help you but your steam profile says you hate gays :'(
Now I feel shitty for helping you, because James is a really nice guy, but since I like helping people, I'll drop a hint: set the owner of the entity before you create it. Then you can tell it's the player's when it comes time to remove it.
[QUOTE=James xX;50473523]Would help you but your steam profile says you hate gays :'([/QUOTE] From now i not hate gays :c Look into my steam again :3 plz help me :c [editline]7th June 2016[/editline] [QUOTE=code_gs;50473575]Now I feel shitty for helping you, because James is a really nice guy, but since I like helping people, I'll drop a hint: set the owner of the entity before you create it. Then you can tell it's the player's when it comes time to remove it.[/QUOTE] I use FPP. Theres no way to get the owner without setting?
[QUOTE=americal;50473669]From now i not hate gays :c Look into my steam again :3 plz help me :c [editline]7th June 2016[/editline] I use FPP. Theres no way to get the owner without setting?[/QUOTE] I don't know how FPP works, but you can try using Entity:GetOwner().
Sorry, you need to Log In to post a reply to this thread.