• Something wrong with hitbox/bounding box.
    3 replies, posted
Hello, I've got GM server. The mode is Jailbreak 7 and poinshop is installed. I want to make an opportunity to players to buy skins. With default skins like Alyx everything works just fine. But with non-default (custom) skins from steam workshop, I guess, have some hitbox problem. The player is taking damage even the bullet pass through model bounding box. In the pictire you can see the red dots. Player take damage, if we shot at this direction. [IMG]http://s017.radikal.ru/i435/1512/10/51c432598a2d.png[/IMG] [CODE]ITEM.Name = 'Plague Doktor' ITEM.Price = 0 ITEM.Model = 'models/player/plague_doktor/player_plague_doktor.mdl' function ITEM:OnEquip(ply, modifications) if not ply._OldModel then ply._OldModel = ply:GetModel() end timer.Simple(1, function() ply:SetModel(self.Model) ply:SetupHands() end) end function ITEM:OnHolster(ply) if ply._OldModel then ply:SetModel(ply._OldModel) ply:SetupHands() end end function ITEM:PlayerSetModel(ply) ply:SetModel(self.Model) ply:SetupHands() end function ITEM:CanPlayerBuy(ply) return ply:SteamID() == "STEAM_0:0:******" and true or false, 'Personal model.' end[/CODE]
Obvious question, but do those models actually exist on the server?
Damn:smug: Robotboy655 thank you so much! Solved.
Please mark as solved
Sorry, you need to Log In to post a reply to this thread.