SA-MP Forums Archive
Capture Zone Doesn't work - 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: Capture Zone Doesn't work (/showthread.php?tid=624477)



Checkpoint Problem! Help Please - adri[4]Life - 17.12.2016

Hi After Changing Some Plugins & Includes Version Server Failed To Create Checkpoint for capture zones somebody help please :
Код:
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10
[23:38:35] *** CreateDynamicCP: Expecting 8 parameter(s), but found 10



Re: Capture Zone Doesn't work - adri[4]Life - 19.12.2016

SomeBody Help Please!


Re: Capture Zone Doesn't work - RedRex - 19.12.2016

Show us The Codes of CreateDynamicCP


Re: Capture Zone Doesn't work - adri[4]Life - 19.12.2016

i'm sure it's not from checkpoint's code cause it works before and today i didn't change anything only streamer include and plugin s version anyway here is the cod it's made by jarnu
Код:
//snakes farm
    CP[SNAKE] = CreateDynamicCP(-36.5458, 2347.6426, 24.1406,3, -1,-1,-1,100.0);
    Zone[SNAKE] = GangZoneCreate(-62.5000000000005,2318.359375,23.4375,2390.625);
    //bayside sea shore
    CP[BAY] = CreateDynamicCP(260.0900,2889.5242,11.1854,3, -1,-1,-1,100.0);
    Zone[BAY] = GangZoneCreate(236.328125,2892.578125,292.96875,2943.359375);
    //area 51
    CP[BIG] = CreateDynamicCP(239.5721,1859.1677,14.0840,3, -1,-1,-1,100.0);
    Zone[BIG] = GangZoneCreate(-46.875,1697.265625,423.828125,2115.234375);
	//army hotel
	CP[ARMY] = CreateDynamicCP(-551.6992,2593.0771,53.9348,3, -1,-1,-1,100.0);
	Zone[ARMY] = GangZoneCreate(-617.1875,2531.25,-455.078125,2658.203125);
	//army petrol bunk
	CP[PETROL] = CreateDynamicCP(670.9215,1705.4658,7.1875,3, -1,-1,-1,100.0);
	Zone[PETROL] = GangZoneCreate(609.375,1652.34375,714.84375,1767.578125);
	//Oil Factory
	CP[OIL] = CreateDynamicCP(221.0856,1422.6615,10.5859,3, -1,-1,-1,100.0);
	Zone[OIL] = GangZoneCreate(95.703125,1339.84375,287.109375,1484.375);
	//Oil Station
	CP[DESERT] = CreateDynamicCP(558.9932,1221.8896,11.7188,3, -1,-1,-1,100.0);
	Zone[DESERT] = GangZoneCreate(529.296875,1205.078125,636.71875,1267.578125);
    //559.5272,1221.7778,11.7188
    //Quarry
	CP[QUARRY] = CreateDynamicCP(588.3246,875.7402,-42.4973,3, -1,-1,-1,100.0);
	Zone[QUARRY] = GangZoneCreate(439.453125,748.046875,863.28125,992.1875);
    //Desert Guest House
	CP[GUEST] = CreateDynamicCP(-314.8433,1773.9176,43.6406,3, -1,-1,-1,100.0);
	Zone[GUEST] = GangZoneCreate(-357.421875,1707.03125,-253.90625,1835.9375);
    //Big Ear
	CP[EAR] = CreateDynamicCP(-311.0136,1542.9733,75.5625,3, -1,-1,-1,100.0);
	Zone[EAR] = GangZoneCreate(-437.5,1513.671875,-244.140625,1636.71875);



Re: Capture Zone Doesn't work - Sew_Sumi - 19.12.2016

Quote:
Originally Posted by adrianlouise
Посмотреть сообщение
i didn't change anything only streamer include and plugin s version
That's what's caused it...

Version updates often have extra functions, and variables added to certain things.

You need to either update your script, or revert to the older version of the streamer.


Re: Capture Zone Doesn't work - adri[4]Life - 19.12.2016

thanks alot it works now !