else if(clickedid == derevnyaTD[5]) { ChangeLocations[playerid] --; new locationid = ChangeLocations[playerid]; if(locationid < 0 ) ChangeLocations[playerid] = locationid = /* максимальное кол-во локаци*/ - 1; InterpolateCameraPos(playerid, YorCitN[locationid][locationpos][0], YorCitN[locationid][locationpos][1], YorCitN[locationid][locationpos][2], YorCitN[locationid][locationpos][3], YorCitN[locationid][locationpos][4], YorCitN[locationid][locationpos][5], 7500 ); InterpolateCameraLookAt(playerid, YorCitN[locationid][locationpos][6], YorCitN[locationid][locationpos][7], YorCitN[locationid][locationpos][8], YorCitN[locationid][locationpos][9], YorCitN[locationid][locationpos][10], YorCitN[locationid][locationpos][11], 7500 ); }
Сообщение отредактировал Tornamic: 12 февраля 2024 - 19:47