22.02.2017, 08:09
I made this arrow:
Making this code:
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?
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])); } }
GPSArrow[i][1] = onplayer
GPSArrow[i][2] += 1.0 north
But it according with arrow angle?