Forum

> > CS2D > Scripts > Path outside of CS2D folder
Forums overviewCS2D overview Scripts overviewLog in to reply

English Path outside of CS2D folder

2 replies
To the start Previous 1 Next To the start

old Path outside of CS2D folder

AtomKuh
User Off Offline

Quote
Is it possible to reach files outside of the cs2d main folder?

For example:

1
dofile("C:\Users\Mustermann\Desktop\test.lua")

old Re: Path outside of CS2D folder

VADemon
User Off Offline

Quote
You can access any path reachable by your Operating System/User. Privacy concerns: yes, but the worst part for your script is that it will be tied, hardcoded to your system and require changes later. Use relative paths where possible.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview