Raised This Month: $51 Target: $400
 12% 

quick question about file_exists


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-02-2016 , 10:17   quick question about file_exists
Reply With Quote #1

does it check valve/ directory automatically too? or do i have to check it myself?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-02-2016 , 10:52   Re: quick question about file_exists
Reply With Quote #2

Default is mod dir I believe, test it yourself.
__________________
Bugsy is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 03-02-2016 , 11:25   Re: quick question about file_exists
Reply With Quote #3

Root folder for amxx scripting is default mod dir like Bugsy said. For counter strike, root is cstrike folder, anything else you need to use slowhacking i think.
__________________
Artifact is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-02-2016 , 13:03   Re: quick question about file_exists
Reply With Quote #4

Thank you both. To get in other directories you just need to go up a folder by adding a "../" to the string.
For example, to get in /valve: "../valve/".
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-02-2016 , 14:09   Re: quick question about file_exists
Reply With Quote #5

Not that in dev build, you will be able to use the Valve file system which allows you to search in Valve search paths.
__________________
Arkshine is offline
Old 03-02-2016, 15:12
georgik57
This message has been deleted by georgik57.
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-02-2016 , 16:00   Re: quick question about file_exists
Reply With Quote #6

Quote:
Originally Posted by georgik57 View Post
Quote:
Originally Posted by Arkshine View Post
Not that in dev build, you will be able to use the Valve file system which allows you to search in Valve search paths.
Using AMXX 1.8.2.
Can you guys please check this topic too please?
I don't understand how is it that a render set in AddToFullPack can affect global render values.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode