I'm trying to call the restrictProp() function in multiple lines for various props like this:
...
restrictProp( "models/props_c17/oildrum001_explosive.mdl", 5 )
restrictProp( "addons/phx/models/props_phx/amraam.mdl", 2 )
restrictProp( "addons/phx/models/props_phx/torpedo.mdl", 2 )
But I must not be able to "see" the addons/phx/models/props_phx folder, because this restriction for the phx models is not working. The restriction on the oildrum works however. Can anyone help me on this? I have tried various ways without success. Thanks for any tips.
EDIT: Nevermind I figured it out. The problem was in my path. Below is the correct way, noting the extra forwardslash as being what solved it for me:
...
restrictProp( "models/props_c17/oildrum001_explosive.mdl", 5 )
restrictProp( "addons/phx/models//props_phx/amraam.mdl", 2 )
restrictProp( "addons/phx/models//props_phx/torpedo.mdl", 2 )