tag mismatch
#1

I positively think that I have missed something, but I don't have idea. here is the native

Код HTML:
native CreateAutomaticGate(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:x2, Float:y2, Float:z2, Float:rx2, Float:ry2, Float:rz2, Float:trigx, Float:trigy, Float:trigz, Float:trig_range, Float:movespeed, bool:condition=false);
Код:
	
	bGate = CreateAutomaticGate(971,-2127.1001,-80.8,37,0,0,0,-2127.1001,-80.8,44,0,0,0,-2127.1001,-80.8,37,7.1099,4.0,1);



	mGate = CreateAutomaticGate(971,-2596.6001,328.20001,6.2,0.0000000,0.0000000,270,-2596.6001,328.20001,13.2,0.0000000,0.0000000,270,-2596.6001,328.20001,6.2,7.1099,4.0,1);


	yGate = CreateAutomaticGate(971,-2211.5,579.70001,35.5,0,0,0,-2211.5,579.70001,42.8,0.0000000,0.0000000,0,-2211.5,579.70001,35.5,7.1099,4.0,1);


	hGate = CreateAutomaticGate(971,-1979.09998,797.20001,56.8,0.0000000,0.0000000,270,-1979.09998,797.20001,62.8,0.0000000,0.0000000,270,-1979.09998,797.20001,56.8,7.1099,4.0,1);


	maGate = CreateAutomaticGate(971,-2382,-108.3,36.9,0.0000000,0.0000000,89.25,-2382,-108.3,42.9,0.0000000,0.0000000,89.25,-2382,-108.3,36.9,7.1099,4.0,1);


	gGate = CreateAutomaticGate(971,-1703.0999800,1340.5000000,9.7000000,0.0000000,0.0000000,314.7500000,-1703.0999800,1340.5000000,16.0000000,0.0000000,0.0000000,314.7500000,-1703.0999800,1340.5000000,9.7000000,7.1099,4.0,1);
Reply
#2

Probably the angles, see how you just wrote 270 for the angles, you'll get a tag mismatch if you do that.
If you're working with floating point values then use 270.0 instead of just 270
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)