Guten Tag Community,
ich habe ein problem und zwar wird der Spieler beim Bincosystem nicht in die position gestellt halt die Camera zeigt dahin wo er stehen soll aber der steht da nicht.
Wenn ich auf bestätigen klicke dann schwebt er in der Luft.
stock BincoSystem(playerid)
{
TextDrawShowForPlayer(playerid,Binco0);
TextDrawShowForPlayer(playerid,Binco1);
TextDrawShowForPlayer(playerid,Binco2);
TextDrawShowForPlayer(playerid,Binco3);
TextDrawShowForPlayer(playerid,Binco4);
SetPlayerPos(playerid,218.0456,-98.1021,1005.2578);
SetPlayerCameraPos(playerid,214.3568,-101.5178,1005.2578);
SetPlayerCameraLookAt(playerid,218.0456,-98.1021,1005.2578);
SetPlayerFacingAngle(playerid,123.0581);
SetPlayerInterior(playerid,15);
SetPlayerVirtualWorld(playerid,120);
SelectTextDraw(playerid,COLOR_GREY);
TogglePlayerControllable(playerid,0);
TextDrawHideForPlayer(playerid,Top);
TextDrawHideForPlayer(playerid,Bot);
BincoSkin[playerid] = 0;
SetPlayerSkin(playerid,BincoSkinsInfo[BincoSkin[playerid]][bSkinid]);
return 1;
}
if(clickedid == Binco1)
{
BincoSkin[playerid]--;
if(BincoSkin[playerid] < 0) BincoSkin[playerid] = sizeof(BincoSkinsInfo);
SetPlayerSkin(playerid,BincoSkinsInfo[BincoSkin[playerid]][bSkinid]);
}
if(clickedid == Binco2)
{
BincoSkin[playerid]++;
if(BincoSkin[playerid] > sizeof(BincoSkinsInfo)) BincoSkin[playerid] = 0;
SetPlayerSkin(playerid,BincoSkinsInfo[BincoSkin[playerid]][bSkinid]);
}
if(clickedid == Binco3)
{
TextDrawHideForPlayer(playerid,Binco0);
TextDrawHideForPlayer(playerid,Binco1);
TextDrawHideForPlayer(playerid,Binco2);
TextDrawHideForPlayer(playerid,Binco3);
TextDrawHideForPlayer(playerid,Binco4);
SpielerInfo[playerid][pSkin] = GetPlayerSkin(playerid);
TogglePlayerControllable(playerid,1);
SetCameraBehindPlayer(playerid);
SetPlayerVirtualWorld(playerid,0);
TogglePlayerControllable(playerid,1);
}
Ich hoffe jemand kann mir helfen