20.06.2018, 08:48
Why camera are not switch between case0, case2, and case3 when player are connected and stuck at case3?
Код:
new ConnectCam = random(3); switch(ConnectCam) { case 0: { InterpolateCameraPos(playerid, -2311.295166, 1627.093627, 271.326354, -1979.344482, 1299.637329, 64.945800, 50000); InterpolateCameraLookAt(playerid, -2308.608886, 1624.489257, 268.009521, -1975.914062, 1296.397216, 63.292369, 50000); } case 1: { InterpolateCameraPos(playerid, 978.494445, -2060.800292, 166.246490, 1134.107055, -1887.057006, 50.187355, 50000); InterpolateCameraLookAt(playerid, 981.481018, -2057.465820, 164.019058, 1136.936523, -1883.791625, 47.671157, 50000); } case 2: { InterpolateCameraPos(playerid, 2687.363525, 1389.600341, 231.095352, 2393.559082, 1196.468627, 96.992835, 50000); InterpolateCameraLookAt(playerid, 2683.459716, 1387.034179, 229.313522, 2389.655273, 1193.902465, 95.211006, 50000); } }