Help. :|
#7

!!!
read format function on wiki bro !!

your path define is: #define PATH "/Houses/%d.ini"
and what is %d ??

its an integer right ??

and when you use format(string,sizeof(string),PATH, Houses); you actually put "Houses" instead of %d

in this stock

pawn Код:
stock HousePath()
{
    new string[128];
    format(string,sizeof(string),PATH, Houses);
    return string;
}
tell me what is "Houses" ??

how you set "Houses" variable value ?!

yesterday you did somting like this:

pawn Код:
stock HousePath()
{
    new string[128], Houses;
    for(new Houses = 0; Houses < 500; Houses++)
    {
    format(string,sizeof(string),PATH, Houses);
    return string;
    }
}
but its beter that use that way i told you above
Reply


Messages In This Thread
Help. :| - by HY - 11.12.2014, 16:44
Re: Help. :| - by Clad - 11.12.2014, 16:50
Re: Help. :| - by HY - 11.12.2014, 16:54
Re: Help. :| - by M4D - 11.12.2014, 16:55
Re: Help. :| - by HY - 11.12.2014, 17:00
Re: Help. :| - by Clad - 11.12.2014, 17:02
Re: Help. :| - by M4D - 11.12.2014, 17:07
Re: Help. :| - by HY - 11.12.2014, 17:23
Re: Help. :| - by Ryz - 11.12.2014, 17:36
Re: Help. :| - by HY - 11.12.2014, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)