13.06.2012, 22:46
Well you don't use "SetPlayerInterior" ...
EDIT: I forgot;
Here's my enter in Bank... Interior id = 0.
pawn Код:
//=======================================BANK ENTER/EXIT====================================//
if(IsPlayerInRangeOfPoint(playerid, 2.0, -1581.2850,865.9330,7.6473)) //Bank enter
{
SetPlayerPos(playerid,2315.952880,-1.618174,26.742187);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid,COLOR_WHITE,"[SF Bank]: Welcome!");
}
else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2315.952880,-1.618174,26.742187)) //Bank exit
{
SetPlayerPos(playerid,-1580.4641,862.9164,7.4268);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid,COLOR_WHITE,"[SF Bank]: Goodbye!");
}
Here's my enter in Bank... Interior id = 0.