Probably the fact that you should've put FULL path to the models in the first code an used resource.AddWorkshop in the second.
[QUOTE=Robotboy655;45025174]Probably the fact that you should've put FULL path to the models in the first code an used resource.AddWorkshop in the second.[/QUOTE]
Okay...
[editline]7th June 2014[/editline]
is garrysmod/models/player/MODELHERE.mdl good?
[QUOTE=xNiksu;45025216]is garrysmod/models/player/MODELHERE.mdl good?[/QUOTE]
How should I know? Put the actual model paths. If you do not know them, copy paste them from spawnmenu or something.
Thanks! :p But how about the piano?
You aren't downloading the actual pianos files. Plus like robot boy said you're using AddFile with an ID rather than a file path to the model and materials of what I assume is the piano.
Im getting this in console: [url]http://postimg.org/image/fp0y1ehxr/[/url]
[QUOTE=xNiksu;45025768]Im getting this in console: [url]http://postimg.org/image/fp0y1ehxr/[/url][/QUOTE]
You are trying to run serverside functions on client. Put your files with resource.Add* into autorun/server/
ehh... so i have to change resource.AddWorkshop to resource.Add and put my workshop.lua to autorun/server/ ?
Make a file in lua/autorun/server called workshop.lua and put this in:
[CODE]
resource.AddWorkshop("104548572")
resource.AddWorkshop("118824086")
resource.AddWorkshop("119060917")
resource.AddWorkshop("220336312")
resource.AddWorkshop("150404359")
resource.AddWorkshop("171935748")
[/CODE]
Sorry, you need to Log In to post a reply to this thread.