Habe für cops eine Art Verkehrskamera Gemacht mit dialog..
Problem ist das die Gestreamten Objekte da nicht gezeigt werden ist das normal?
if(dialogid == Dialog_Verkehr)
{
if(response == 0){ return 1; }
if(response == 1)
{
if(listitem == 0)
{
GameTextForPlayer(playerid,"~n~~n~~g~Kamera|Autohaus",2000,3);
SetPlayerCameraPos(playerid,-1610.0288,1196.1726,17.0468);
SetPlayerCameraLookAt(playerid,-1643.4265,1203.6647,13.6781);
SetPlayerInterior(playerid,0);
FreezePlayer(playerid);
}
if(listitem == 1)
{
GameTextForPlayer(playerid,"~n~~n~~g~Kamera|Zivispawn",2000,3);
SetPlayerCameraPos(playerid,-1980.6461,107.9405,42.6799);
SetPlayerCameraLookAt(playerid,-1990.1372,145.8232,27.5391);
SetPlayerInterior(playerid,0);
FreezePlayer(playerid);
}
if(listitem == 2)
{
GameTextForPlayer(playerid,"~n~~n~~g~Kamera|Krankenhaus",2000,3);
SetPlayerCameraPos(playerid,-2566.6660,557.2900,24.0096);
SetPlayerCameraLookAt(playerid,-2604.9504,595.2076,14.4531);
SetPlayerInterior(playerid,0);
FreezePlayer(playerid);
}
if(listitem == 3)
{
GameTextForPlayer(playerid,"~n~~n~~g~Kamera|Rathaus",2000,3);
SetPlayerCameraPos(playerid,-2716.8076,365.8579,13.9737);
SetPlayerCameraLookAt(playerid,-2755.5513,373.5969,4.3406);
SetPlayerInterior(playerid,0);
FreezePlayer(playerid);
}
if(listitem == 4)
{
GameTextForPlayer(playerid,"Kamera Exit",2000,1);
SetPlayerPos(playerid,253.1366,68.2382,1003.6406);
SetPlayerFacingAngle(playerid, 90.00);
SetPlayerCameraPos(playerid, 253.1266,68.2282,1003.6406);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,6);
UnFreezePlayer(playerid);
}
return 1;
}
}
Hier ein beispiel der ZivilSPawn Kamera: