Simple House's script?
#4

Quote:
Originally Posted by Kar
Посмотреть сообщение
dini_Get?
Thanks, ill take a look... However can you explain a little bit about how to use the function?

Quote:
Originally Posted by Joe_
Посмотреть сообщение
I still use the native File functions for reading configuration files (non-player files).

You would need to make a rather large string to store all the information in the file, then open the file, then I'd use a while loop.

pawn Код:
while(fread(file, THE_LARGE_STRING))
{
//Do stuff, I use sscanf, you will see an example when my jBizz is released
}
fclose(file);
Sounds interesting, ill look into it, however from reading topics on the forum about PAWN's native file functions, they seem a bit "downgraded" from other's. I will have a go at using this though

Thanks to both of you, is there any other methods that could be used? And should i save the houses as single files for, house cars for example. So i can save cars and their location for the houses?

Thanks
Ash
Reply


Messages In This Thread
Simple House's script? - by Ash. - 02.08.2010, 20:26
Re: Simple House's script? - by Kar - 02.08.2010, 20:40
Re: Simple House's script? - by Joe_ - 02.08.2010, 20:47
Re: Simple House's script? - by Ash. - 03.08.2010, 08:42
Re: Simple House's script? - by Joe_ - 03.08.2010, 12:51

Forum Jump:


Users browsing this thread: 2 Guest(s)