11.12.2014, 17:07
!!!
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
tell me what is "Houses" ??
how you set "Houses" variable value ?!
yesterday you did somting like this:
but its beter that use that way i told you above
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;
}
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;
}
}