How to set another arrow on north?
#1

I made this arrow:


Making this code:
Код:
		if(InCheckPoint[i] == true) {
			new Float:pX,Float:pY,Float:pZ;
			GetPlayerPos(i,pX,pY,pZ);
			for(new SID = 1; SID < MAX_CRIMES; SID++) {
				SetObjectPos(GPSArrow[i][SID],pX, pY, pZ-1);
				SetObjectRot(GPSArrow[i][SID],0,90,-90-AngleBetweenPoints(pX,pY,Xtargetpoint[i],Ytargetpoint[i]));
			}
		}
How to add more one arrow on north according to the arrow angle?

GPSArrow[i][1] = onplayer
GPSArrow[i][2] += 1.0 north

But it according with arrow angle?
Reply


Messages In This Thread
How to set another arrow on north? - by weex - 22.02.2017, 08:09
Re: How to set another arrow on north? - by weex - 22.02.2017, 22:54
Re: How to set another arrow on north? - by BroZeus - 23.02.2017, 05:34
Re: How to set another arrow on north? - by rt-2 - 23.02.2017, 06:51
Re: How to set another arrow on north? - by BroZeus - 23.02.2017, 12:15
Re: How to set another arrow on north? - by rt-2 - 17.03.2017, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)