28.03.2014, 23:24
Hello I was made bussines and know I was make when I close to bussines then when I press button enter then I enter in bussines that's fine but I want in dialog so I was make also when I close to bussines then it show me dialog ok and know I prees enter and it spawn me somewhere on some farm , why is that happening? Here is ondialog response
pawn Код:
if(dialogid == 444)
{
if(response)
{
for(new i = 0; i < sizeof(BussinesInfo); i++)
{
SetPlayerInterior(playerid,BussinesInfo[i][bussinesInt]);
SetPlayerVirtualWorld(playerid,BussinesInfo[i][bussinesVirtualWorld]);
SetPlayerPos_H(playerid,BussinesInfo[i][bussinesExitX],BussinesInfo[i][bussinesExitY],BussinesInfo[i][bussinesExitZ]);
SetCameraBehindPlayer(playerid);
}
}
}