....
This is the second time I'm asking this, since the first time I got a sweet answer, but I guess I still f***ed up...:P
I'm attempting to upload cloud strife (player model) to the pointshop and I keep getting errors..
Any help is appreciated:
Inside the pointshop extras master, I have inside the models folder "cloud" folder with two directories;
Materials
-> Cloud
------> .vmt and .vtf files (eyeball l, eyeball r, part1, part2, part 3, part4, pupil l, pupil r)
Models
->cloud.dx80.vtx, cloud.dx90.vtx, cloud.mdl, cloud.phy, cloud.sw.vtx, cloud.vvd
-> Player
------>cloud.dx80.vtx, cloud.dx90.vtx, cloud.mdl, cloud.phy, cloud.sw.vtx, cloud.vvd
[B]cloud.lua[/B]
[CODE]ITEM.Name = 'Cloud Strife'
ITEM.Price = 500
ITEM.Model = 'addons/pointshop-extras-master/models/CLOUD/models/cloud.mdl'
ITEM.AllowedUserGroups = { "donator++", "mod+++", "newmod+++", "vetmod+++" }
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[/CODE]
[B]fastdl.lua[/B]
[CODE]resource.AddFile( "/garrysmod/addons/pointshop-extras-master/models/CLOUD/models/cloud.mdl" )[/CODE]
Replace your 'addons/pointshop-extras-master/models/CLOUD/models/cloud.mdl' with 'models/CLOUD/models/cloud.mdl' and exract the models to garrysmod/garrysmod/, not garrysmod/garrysmod/addons/ for fastDL to work.
Sorry, you need to Log In to post a reply to this thread.