How to Save Status of My Gang ??
#1

I want to save the status of gang

The file gang.cfg.

I want a command to change status And state is this.


If you help me to thank.



Translate Thai into English. by ******
Reply
#2

.......
Reply
#3

I save my gangs/factions in .ini's.

pawn Код:
#include <dudb>
pawn Код:
public OnGameModeInit()
{
new file[48] = "\\gang.ini";
if(!dini_Exists(file)) {
dini_Create(file);
// Set the information...
// For example, this will save the gangs money:
// Dini_IntSet(file, "Money", 0);
}
if(dini_Exists(file)) {
// Get the information from your file...
// For example, this will get the gangs money:
// Dini_Int(file, "Money");
}
Reply
#4

Thank You.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)