SA-MP Forums Archive
Interpolate Camera - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Interpolate Camera (/showthread.php?tid=378480)



Interpolate Camera - HighFlyer - 17.09.2012

Hi there,

I have made an interpolate camera at login, but I'd like it to be different and random everytime someone connects, and gets the login box. I have a vague idea of how I could do this, but I'm not sure whether I can apply it to this.

Код:
public LoginCamera(playerid)
{
    InterpolateCameraPos(playerid, 291.079193, 62.431571, 7.633911, 619.964294, 319.335174, 24.199625, 20000);
	InterpolateCameraLookAt(playerid, 295.107452, 65.330856, 7.027944, 615.965454, 316.333953, 24.242885, 20000);
	TogglePlayerControllable(playerid, 0);
	return 1;
}



AW: Interpolate Camera - arvifilter - 18.09.2012

All you need is a random variable!
make a random when player connects and make a switch on the random and at every case make an specified interpolating camera ^^

If you need more detailed info PM me