09.06.2010, 22:28
Quote:
Originally Posted by Fog™
Hey,i want to make an faction system,like it will do txtfile everytime ya type /createfaction [name] [leaders name]
and the textfile name would be factions name,and how to load them too then? thanks. |
https://sampwiki.blast.hk/wiki/File_Functions
The best advice is to use Dini:
Код:
// To create a faction name dini_Set("faction","faction1name","factionone"); dini_Set("faction","faction2name","factiontwo"); // To retrieve it dini_Int("faction","faction1name")