Organization stuff dissapearing.
#1

I got a question,hopefully somebody can help me with this. I'm using a random GM,at the moment I'm getting trouble with "oupdates.amx". I can create an organization,add org marker,name,info,skins,weapons,cars,turfs,etc,but when I restart my server everything is gone,what could be wrong?
Reply
#2

Show us the command where you create the organization, please. Most likely, the database/file that the organization(s) does not exists, hence why it does not load on restart.
Reply
#3

Not sure if this is the right code.

Quote:

new string[64];
for (new i = 1, d = dini_Int("orgfiles/o/orgstats.ini", "max_org"); i <= d; i++) {
format(string, 64, "orgfiles/O/ORG%d.ini", i);
if (!dini_Exists(string)) continue;
gatetype[i-1] = dini_Int(string, "gatetype");
}

s1 = CreateObject(1500, 2293.817, 2494.451, 2.360, 0.0, 0.0, 270.0); // sapd

s2 = CreateObject(1500, 1584.140, -1637.850, 12.483, 0.0, 0.0, 180.0); // sapd

// p1 = CreatePickup(356, 19, 2545.418, -1300.735, 1031.421, 255-orgid); // orgid

v1 = CreateVehicle2(435, 1062.8109, 1298.1058, 11.4588, 270.0000, 400);
v2 = CreateVehicle2(435, 1062.8109, 1288.1058, 11.4403, 270.0000, 400);
v3 = CreateVehicle2(435, 1062.8109, 1278.1058, 11.9663, 270.0000, 400);
v4 = CreateVehicle2(435, 1062.8109, 1268.1058, 11.9642, 270.0000, 400);
v5 = CreateVehicle2(435, 1062.8109, 1258.1058, 11.4588, 270.0000, 400);
v6 = CreateVehicle2(435, 1062.8109, 1248.1058, 11.4403, 270.0000, 400);
v7 = CreateVehicle2(435, 1062.8109, 1238.1058, 11.9663, 270.0000, 400);
v8 = CreateVehicle2(435, 1062.8109, 1228.1058, 11.9642, 270.0000, 400);

gtimer = SetTimer("org_gatesF", 500, 1);

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)