SA-MP Forums Archive
Moving cam - 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: Moving cam (/showthread.php?tid=364369)



Moving cam - Alex.Cone - 30.07.2012

How can I make moving cam when my player is loging in.


Re: Moving cam - Kindred - 30.07.2012

InterpolateCameraPos


Re : Moving cam - lelemaster - 30.07.2012

Take a look at this: https://sampwiki.blast.hk/wiki/InterpolateCameraPos

EDIT: Damn, Kindred was faster than me.


Respuesta: Moving cam - Alex.Cone - 30.07.2012

And how to make it random. If you know what i mean. There is 5-6 moving cams, and you have randome one?


Re : Moving cam - lelemaster - 30.07.2012

pawn Код:
new rand = random(5)
if(rand == 0)
{
    //Your codes of the camera
}
else if(rand == 1)
{
    //Your codes of the camera
}
else if(rand == 2)
{
    //Your codes of the camera
}
else if(rand == 3)
{
    //Your codes of the camera
}
else if(rand == 4)
{
    //Your codes of the camera
}