19.04.2014, 21:52
I'm not really good at scripting but how about something like this.
// This is just a ruff thing (^^ I forgot the function names so i just named them as that, but you get my idea)
Код:
new Float:CarCameras[][4] =
{
{1751.1097,-2106.4529,13.5469,183.1979}, // CAM1
{2652.6418,-1989.9175,13.9988,182.7107}; // CAM2
};
new tempvar = 0
public OnTextDrawClicked(playerid)
{
if(tempvar => 2){
tempvar = 0;
}
InterpolateCameraPos(playerid, [CarCameras[TempVar][1]], [CarCameras[TempVar][2]], [CarCameras[TempVar][3]] )
tempvar = tempvar + 1;
}

