Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if {SERVER} then
- player_manager.AddValidModel( "Dallas", "models/player/pd2_dallas_p.mdl")
- AddCSLuaFile( "pd2_dallas.lua")
- end
- list.set ( "PlayerOptionsModel", "Dallas", "models/player/pd2_dallas_p.mdl")
- --// File generated by F0x's Resources Generator 3.0.0 \\--
- if ( SERVER ) then
- resource.AddFile( "materials/models/shaklin/payday2/dallas/eyeball_l.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/eyeball_l.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/eyeball_r.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/eyeball_r.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/head_dallas.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/head_dallas.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/head_dallas_n.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/mask_dallas.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/mask_dallas.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/mask_dallas_n.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/mask_dallas_s.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/suit_dallas.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/dallas/suit_dallas.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/eyeball_l_ambient.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/eyeball_r_ambient.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/gloves.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/gloves.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/gloves_n.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/straps.vmt" )
- resource.AddFile( "materials/models/shaklin/payday2/straps.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/straps_n.vtf" )
- resource.AddFile( "materials/models/shaklin/payday2/suit_xn.vtf" )
- resource.AddFile( "models/player/pd2_dallas_p.mdl" )
- resource.AddFile( "models/player/pd2_dallas_p.dx80.vtx" )
- resource.AddFile( "models/player/pd2_dallas_p.dx90.vtx" )
- resource.AddFile( "models/player/pd2_dallas_p.phy" )
- resource.AddFile( "models/player/pd2_dallas_p.sw.vtx" )
- resource.AddFile( "models/player/pd2_dallas_p.vvd" )
- resource.AddFile( "models/shaklin/payday2/pd2_dallas.mdl" )
- resource.AddFile( "models/shaklin/payday2/weapons/arms/c_arms_dallas.mdl" )
- end
- Pointshop:
- ITEM.Name = 'Dallas'
- ITEM.Price = 1000
- ITEM.Model = 'models/player/pd2_dallas_p.mdl'
- function ITEM:OnEquip(ply, modifications)
- if not ply._OldModel then
- ply._OldModel = ply:GetModel()
- end
- timer.Simple(1, function() ply:SetModel(self.Model) end)
- end
- function ITEM:OnHolster(ply)
- if ply._OldModel then
- ply:SetModel(ply._OldModel)
- end
- end
- function ITEM:PlayerSetModel(ply)
- ply:SetModel(self.Model)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement