Witajcie, mam dziwny problem ze swoim kodem.
Ot??, gdy doda?em now? lokacj? (tak samo jak poprzednie), wzystko ?adnie si? pojawia, do czasu.
Ot?? na radarze wygl?da ona tak: i to jest ok
[img]http://iv.pl/images/01435406072567017470.png[/img]
Ale gdy obr?c? kamer? pod specyficzny k?t, radar wygl?da tak
[img]http://iv.pl/images/33340361436087916856.png[/img]
Kod:
[code]#define MAX_ZONES 51
// name - Zone name
// min, max - Area coords
// point - checkpoint & mapicon
enum zoneinfo
{
namee[32],
Float:minPos[2],
Float:maxPos[2],
Float:pointPos[3],
}
#define SNAKE 0
#define FISH 1
#define A51 2
#define CME-LOT 3
#define OIL_C 4
#define OIL_F 5
#define QUARRY 6
#define ARMY-R 7
#define BIG 8
#define DA 9
#define HOSP 10
#define AIR 11
#define JAY 12
#define BB 13
#define SS 14
#define FUEL 15
#define CLUCKIN 16
#define MISSILE 17
#define GAS 18
#define AS 19
#define VILLA 20
#define CABIN 21
#define CARGO 22
#define VEEN 23
#define ABAN 24
#define ROCKET 25
#define GGATE 26
new ZoneInfo[][zoneinfo] =
{
{"Snake Farm", {-62.5000000000005,2318.359375},{23.4375,2390.625}, {-36.5458, 2347.6426, 24.1406}},
{"Fishing Area", {210.2018, 2849.402}, {303.6248, 2931.147}, {257.1011,2890.2222,11.3209}},
{"Area 51", {-46.875,1697.265625},{423.828125,2115.234375}, {254.4592,1802.8997,7.4285}},
{"Come-A-Lot", {-617.1875,2531.25},{-455.078125,2658.203125}, {-551.6992,2593.0771,53.9348... |