[HELP] Gates
#1

I'm trying to make it so that these objects will destroy when the player is behind them, but every time I try it won't destroy them. But the CreatePlayerObject works fine, can anyone help me fix this?

Код:
	 		if(PlayerToPoint(15.0, i,2303.3508,-1217.3898,23.8438) || PlayerToPoint(15.0, i, 2369.2390,-1271.9918,23.8359))
			{
				spawngate1 = CreatePlayerObject(i, 969, 2360.8735351563, -1275.4278564453, 22.980821609497, 0.000000,0.000000,90.000000);
				spawngate2 = CreatePlayerObject(i, 969, 2313.744140625, -1221.4603271484, 23.089580535889, 0.000000,0.000000,90.000000);
			}
			else if(PlayerToPoint(15.0, i, 2347.7610,-1271.8234,22.5038) || PlayerToPoint(15.0, i, 2327.4788,-1218.4359,22.5499))
			{
				DestroyPlayerObject(i, spawngate1);
				DestroyPlayerObject(i, spawngate2);
			}
Reply
#2

Bump
Reply
#3

All I can assume is that your area must be wrong. Try getting it again... and what the hell's that in your sig?
Reply
#4

Quote:
Originally Posted by Puffmac
All I can assume is that your area must be wrong. Try getting it again... and what the hell's that in your sig?
Skrewdriver Lyrics.

I'll try and let you know if it works or not.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)