View Single Post
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 03-29-2004 , 07:23  
Reply With Quote #5

you can use

Code:
new myfile[64]; get_customdir(myfile, 63); format(myfile, 63, "%s/myfile.ini", myfile);

myfile should now contain addons/amxx/custom/myfile.ini for example.

Quick tip: don't try to do that in c with the sprintf function ;)
__________________
hello, i am pm
PM is offline