hey leute habe bei OnPlayerRequestClass wegen dem login backround. aber es klappt nicht richtig wen ich Stadt auf 1 habe kommt noch immer erster login
if(GetPVarInt(playerid,"Stadt") == 0)//Erster Login
{
SetPlayerPos(playerid, 723.1156,-1494.4447,1.9343);
InterpolateCameraPos(playerid, 1185.377319, -89.408889, 45.384983, 978.702026, -96.529220, 30.435937, 20000);
InterpolateCameraLookAt(playerid, 1180.565063, -89.773208, 44.077358, 973.713012, -96.415077, 30.124849, 20000);
}
if(GetPVarInt(playerid,"Stadt") == 1)//LS
{
SetPlayerPos(playerid, 723.1156,-1494.4447,1.9343);
InterpolateCameraPos(playerid, 723.713012, -1875.107421, 6.290818, 725.820922, -1516.817504, 3.664322, 20000);
InterpolateCameraLookAt(playerid, 723.673950, -1870.144165, 5.686828, 725.457824, -1511.858886, 3.135273, 20000);
}
if(GetPVarInt(playerid,"Stadt") == 2)//SF
{
SetPlayerPos(playerid, -2649.6707,375.9993,6.1563);
InterpolateCameraPos(playerid, -2777.776367, 376.214324, 48.780891, -2674.220214, 376.238128, 10.665676, 15000);
InterpolateCameraLookAt(playerid, -2773.299316, 376.196319, 46.554538, -2669.380859, 376.165710, 9.410915, 15000);
}
Bedanke mich schonmal im vorraus
MFG gtaec