Tag mismatch - 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: Tag mismatch (
/showthread.php?tid=335757)
Tag mismatch -
Face9000 - 19.04.2012
pawn Код:
CPs[3] = CreateDynamicCP(-1531.0914,758.9880,7.5233,336.0298,1.0, -1,-1, -1, 50.0); // CityHallTeleportCheckpoint
CPs[4] = CreateDynamicCP(2175.8733,1619.2224,999.9766,268.7425,1.0, -1,-1, -1, 50.0); // CityHallShop
Re: Tag mismatch -
Face9000 - 19.04.2012
bump
Re: Tag mismatch -
Mike_Peterson - 19.04.2012
To be honest I expected more of you, such an easy problem
pawn Код:
CPs[3] = CreateDynamicCP(-1531.0914,758.9880,7.5233,1.0, -1,-1, -1, 50.0); // CityHallTeleportCheckpoint
CPs[4] = CreateDynamicCP(2175.8733,1619.2224,999.9766,1.0, -1,-1, -1, 50.0); // CityHallShop
problem: too much arguments, i think u did x,y,z, angle
removed the angle, no errors.
Re: Tag mismatch -
[Diablo] - 19.04.2012
i assume you use Incognito's streamer.
the syntax is:
pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
yours
pawn Код:
CPs[3] = CreateDynamicCP(-1531.0914,758.9880,7.5233,336.0298,1.0, -1,-1, -1, 50.0); // CityHallTeleportCheckpoint
the 4th parameter shouldn't be there (336.029

- assuming the 1.0 is cp size
edit: too slow.
Re: Tag mismatch -
Face9000 - 19.04.2012
Quote:
Originally Posted by Mike_Peterson
To be honest I expected more of you, such an easy problem
pawn Код:
CPs[3] = CreateDynamicCP(-1531.0914,758.9880,7.5233,1.0, -1,-1, -1, 50.0); // CityHallTeleportCheckpoint CPs[4] = CreateDynamicCP(2175.8733,1619.2224,999.9766,1.0, -1,-1, -1, 50.0); // CityHallShop
problem: too much arguments, i think u did x,y,z, angle
removed the angle, no errors.
|
Oh yeah sorry,im not concentrated much on pawno because i've a IRL job and my mind is occupied.Thanks ^^