SA-MP Forums Archive
Problem with checkpoints - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with checkpoints (/showthread.php?tid=579906)



Problem with checkpoints - Mijata - 30.06.2015

Код:
#define CAPZONE 0
#define SNAKE 1
#define OLD 2
#define Factory 3
#define Town 4
Код:
Zone[CAPZONE] = GangZoneCreate(268.5911, 2417.32, 478.7929, 2592.488);
    CP[CAPZONE] = CreateDynamicCP(405.8832,2437.1450,16.5000, 4.0, -1, -1, -1, 100.0);
    /////////////////////////////
    Zone[SNAKE] =  GangZoneCreate(-128.4566, 2160.407, 11.67788, 2382.287);
    CP[SNAKE] = CreateDynamicCP(-36.5458, 2347.6426, 24.1406, 4.0, -1,-1,-1,100.0);
    ///////////////////
	Zone[OLD] =	GangZoneCreate(128.4566, 2102.018, 525.5044, 2370.609);
    CP[OLD] = CreateDynamicCP(234.0314,2231.6675,35.6891, 4.0, -1, -1, -1, 100.0);

  	Zone[Factory] =  GangZoneCreate(93.423, 2347.253, 256.9133, 2464.032);
    CP[Factory] = CreateDynamicCP(108.2251,2438.4768,17.1335, 4.0, -1, -1, -1, 100.0);

    Zone[Town] =  GangZoneCreate(93.423, 2487.387, 245.2354, 2604.166);
    CP[Town] = CreateDynamicCP(114.2850,2551.9475,17.4521, 4.0, -1, -1, -1, 100.0);
if you need more ask me

why i can't see checkpoints


Re: Problem with checkpoints - Mijata - 30.06.2015

bump


Re: Problem with checkpoints - Lynn - 30.06.2015

Try using this;

pawn Код:
new Zone[5];
new CP[5];

Zone[0] = GangZoneCreate(268.5911, 2417.32, 478.7929, 2592.488);
CP[0] = CreateDynamicCP(405.8832,2437.1450,16.5000, 4.0, -1, -1, -1, 100.0);

Zone[1] =  GangZoneCreate(-128.4566, 2160.407, 11.67788, 2382.287);
CP[1] = CreateDynamicCP(-36.5458, 2347.6426, 24.1406, 4.0, -1,-1,-1,100.0);

Zone[2] =   GangZoneCreate(128.4566, 2102.018, 525.5044, 2370.609);
CP[2] = CreateDynamicCP(234.0314,2231.6675,35.6891, 4.0, -1, -1, -1, 100.0);

Zone[3] =  GangZoneCreate(93.423, 2347.253, 256.9133, 2464.032);
CP[3] = CreateDynamicCP(108.2251,2438.4768,17.1335, 4.0, -1, -1, -1, 100.0);

Zone[4] =  GangZoneCreate(93.423, 2487.387, 245.2354, 2604.166);
CP[4] = CreateDynamicCP(114.2850,2551.9475,17.4521, 4.0, -1, -1, -1, 100.0);