Raised This Month: $ Target: $400
 0% 

Using BuildPath()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-18-2012 , 10:08   Re: Using BuildPath()
Reply With Quote #2

It doesn't do what you think it does. Since SourcePawn exposes it's deep C roots, you need to use OpenFile which uses fopen under the hood. BuildPath is needed to correctly resolve paths relative to SM directory, so first you build path and then open file with, say, "w" mode to create one.
__________________
FaTony is offline
 



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 11:42.


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