SA-MP Forums Archive
Mapping - Gates/Barries, Un-Even on Z-Axis - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mapping - Gates/Barries, Un-Even on Z-Axis (/showthread.php?tid=84005)



Mapping - Gates/Barries, Un-Even on Z-Axis - Ace_Menace - 28.06.2009

The whole point of this script is to block of entrance into city-hall.

But when i hit /chblock, the gates come up with Gates 3/4( I Think)
Noticeably taller than the rest.

I tried, and failed.
Help?

Код:
if(!strcmp(cmdtext, "/chblock", true))
{
	MoveObject(chb1, 1469.974731, -1751.066162, 17.223053, 0.8);
	MoveObject(chb2, 1477.351196, -1751.260254, 17.223053, 0.8);
	MoveObject(chb3, 1483.991089, -1751.268066, 17.223053, 0.8);
	MoveObject(chb4, 1490.462524, -1751.264526, 17.223053, 0.8);
	MoveObject(chb5, 1497.041504, -1751.256714, 17.223053, 0.8);
 	return 1;
 }
if(!strcmp(cmdtext, "/chunblock", true))
{
	MoveObject(chb1, 1469.974731, -1751.066162, 11.223053, 0.8);
	MoveObject(chb2, 1477.351196, -1751.260254, 11.223053, 0.8);
	MoveObject(chb3, 1483.991089, -1751.268066, 11.223053, 0.8);
	MoveObject(chb4, 1490.462524, -1751.264526, 11.223053, 0.8);
	MoveObject(chb5, 1497.041504, -1751.256714, 11.223053, 0.8);
	return 1;
}




Re: Mapping - Gates/Barries, Un-Even on Z-Axis - Grim_ - 28.06.2009

Are all of the object IDs the same?


Re: Mapping - Gates/Barries, Un-Even on Z-Axis - Ace_Menace - 28.06.2009

Quote:
Originally Posted by Swift_
Are all of the object IDs the same?
Yes.