30.01.2014, 18:16
Alright I created this turfs around 2012 which I'm serious but I never tested out until presently. When I tested it I found out that when more players join, the turf becames darker, cause it makes another turf on top of it. I realized that first I put it "OnPlayerConnect" and later found out you must put it in "OnGamemodeInIt". When I later moved the codes which I'll give below in "code", I moved it to "OnGameModeInIt" but it doesn't appear now. What should I do now? Can someone help show me? And do I have to do something with "OnGameModeExit"? .
Код:
new GZ_ZONE1; GZ_ZONE1 = GangZoneCreate(2314.453125,-1321.2890625,2510.7421875,-1166.015625); GangZoneShowForAll(GZ_ZONE1, 0xFFFF0096); new GZ_ZONE2; GZ_ZONE2 = GangZoneCreate(2326.171875,-1737.3046875,2586.9140625,-1599.609375); GangZoneShowForAll(GZ_ZONE2, 0x00800096); new GZ_ZONE3; GZ_ZONE3 = GangZoneCreate(1669.921875,-2179.6875,2003.90625,-1971.6796875); GangZoneShowForAll(GZ_ZONE3, 0x00FFFF96); new GZ_ZONE4; GZ_ZONE4 = GangZoneCreate(1415.0390625,-1740.234375,1684.5703125,-1593.75); GangZoneShowForAll(GZ_ZONE4, 0x0000FF96); new GZ_ZONE5; GZ_ZONE5 = GangZoneCreate(2583.984375,-2569.3359375,2847.65625,-2326.171875); GangZoneShowForAll(GZ_ZONE5, 0x80800096); new GZ_ZONE6; GZ_ZONE6 = GangZoneCreate(1836.9140625,-1277.34375,2091.796875,-1133.7890625); GangZoneShowForAll(GZ_ZONE6, 0xFF800096); new GZ_ZONE7; GZ_ZONE7 = GangZoneCreate(1564.453125,-1883.7890625,1816.40625,-1822.265625); GangZoneShowForAll(GZ_ZONE7, 0x80008096); new GZ_ZONE8; GZ_ZONE8 = GangZoneCreate(1192.3828125,-1412.109375,1347.65625,-1294.921875); GangZoneShowForAll(GZ_ZONE8, 0xFF000096); new GZ_ZONE9; GZ_ZONE9 = GangZoneCreate(1708.0078125,-1461.9140625,1857.421875,-1303.7109375); GangZoneShowForAll(GZ_ZONE9, 0xFFFFFF96); new GZ_ZONE10; GZ_ZONE10 = GangZoneCreate(2301.5625,-1389.84375,2444.53125,-1331.25); GangZoneShowForAll(GZ_ZONE10, 0x00000096); new GZ_ZONE11; GZ_ZONE11 = GangZoneCreate(1086.9140625,-2085.9375,1168.9453125,-1986.328125); GangZoneShowForAll(GZ_ZONE11, 0xFF000096); new GZ_ZONE12; GZ_ZONE12 = GangZoneCreate(1171.875,-2077.1484375,1286.1328125,-1989.2578125); GangZoneShowForAll(GZ_ZONE12, 0x00000055); // 0x00000096 new GZ_ZONE13; GZ_ZONE13 = GangZoneCreate(255.46875,-1603.125,480.46875,-1460.15625); GangZoneShowForAll(GZ_ZONE13, 0x80FFFF96); new GZ_ZONE14; GZ_ZONE14 = GangZoneCreate(630.46875,-1478.90625,796.875,-1350); GangZoneShowForAll(GZ_ZONE14, 0x80400096); new GZ_ZONE15; GZ_ZONE15 = GangZoneCreate(2721.6796875,-1655.2734375,2915.0390625,-1491.2109375); GangZoneShowForAll(GZ_ZONE15, 0x80808096);