Hi,
also ich habe versucht Kamera's aufzustellen.. Hat/Klappt soweit so gut, doch nun habe ich das so gemacht, dass wenn man während der Cam eine Taste drückt, man zur nächsten Kamera kommt...
Doch wenn ich die Taste drücke, passiert nichts ..
Hoffe jemand kann mir helfen, hier ist der Code:
}
}
if (newkeys == KEY_RIGHT)
{
if(InGsKamera[playerid] == 1)
{
SetPlayerCameraPos(playerid, 2516.9441,-1655.2157,23.7231);
SetPlayerCameraLookAt(playerid, 2449.5144,-1657.9187,13.3047);
GameTextForPlayer(playerid,"~k~~GO_RIGHT~", 2500,2);
InGsKamera[playerid] = 2;
}
}
if (newkeys == KEY_RIGHT)
{
if(InYakKamera[playerid] == 1)
{
SetPlayerCameraPos(playerid, -2660.4553,1356.9705,53.8523);
SetPlayerCameraLookAt(playerid, -2603.7583,1360.0122,7.0822);
GameTextForPlayer(playerid,"~k~~GO_RIGHT~", 2500,2);
InYakKamera[playerid] = 2;
}
}
if (newkeys == KEY_RIGHT)
{
if(InLcnKamera[playerid] == 1)
{
SetPlayerCameraPos(playerid, 726.5168,-1439.3154,18.0278);
SetPlayerCameraLookAt(playerid, 758.6764,-1432.7135,13.5234);
GameTextForPlayer(playerid,"~k~~GO_RIGHT~", 2500,2);
InLcnKamera[playerid] = 2;
}
}
if (newkeys == KEY_RIGHT)
{
if(InScarfoKamera[playerid] == 1)
{
SetPlayerCameraPos(playerid, -2139.9102,-94.5102,44.9688);
SetPlayerCameraLookAt(playerid, -2127.4912,-80.9513,35.3203);
GameTextForPlayer(playerid,"~k~~GO_RIGHT~", 2500,2);
InScarfoKamera[playerid] = 2;
}
}
}
}
Mit freundlichen Grüßen,
Hitman <3.